Lines Matching defs:groups
100 * Determine the list of groups a contact is a member of
103 * @param bool $recursive Recursively check groups
106 public function groups($distinguishedName, $recursive = NULL)
114 $groups = $this->adldap->utilities()->niceNames($info[0]["memberof"]); //presuming the entry returned is our contact
117 foreach ($groups as $id => $groupName){
119 $groups = array_merge($groups, $extraGroups);
123 return $groups;
185 * @param bool $recursive Recursively check groups
195 // Get a list of the groups
196 $groups = $this->groups($distinguisedName, array("memberof"), $recursive);
199 if (in_array($group, $groups)){