Lines Matching defs:user
91 * Add a user to a group
93 * @param string $group The group to add the user to
94 * @param string $user The user to add to the group
98 public function addUser($group, $user, $isGUID = false)
100 // Adding a user is a bit fiddly, we need to get the full DN of the user
103 // Find the user's dn
104 $userDn = $this->adldap->user()->dn($user, $isGUID);
243 * Remove a user from a group
245 * @param string $group The group to remove a user from
246 * @param string $user The AD user to remove from the group
250 public function removeUser($group, $user, $isGUID = false)
261 $userDn = $this->adldap->user()->dn($user, $isGUID);
279 * @param string $group The group to remove a user from