Lines Matching defs:groups
114 //get a list of the groups
115 $groups = $this->groups($computerName, array("memberof"), $recursive);
118 if (in_array($group, $groups)){
126 * Get the groups a computer is in
132 public function groups($computerName, $recursive = NULL)
140 $groups = $this->adldap->utilities()->niceNames($info[0]["memberof"]); //presuming the entry returned is our guy (unique usernames)
143 foreach ($groups as $id => $groupName){
145 $groups = array_merge($groups, $extraGroups);
149 return $groups;