Lines Matching defs:groups
186 * @param bool $recursive Recursive list of groups
190 public function groups($username, $recursive = NULL, $isGUID = false)
198 $groups = $this->adldap->utilities()->niceNames($info[0]["memberof"]); // Presuming the entry returned is our guy (unique usernames)
201 foreach ($groups as $id => $groupName){
203 $groups = array_merge($groups, $extraGroups);
207 return $groups;
292 * @param bool $recursive Check groups recursively
303 // Get a list of the groups
304 $groups = $this->groups($username, $recursive, $isGUID);
307 if (in_array($group, $groups)) {