Lines Matching refs:groups
126 $groups = [];
132 return $groups; // we return what we got so far
137 $groups[$entry->getDn()->toString()] = $this->cleanGroup($this->attr2str($entry->get('cn')));
141 asort($groups);
142 return $groups;
167 // memberOf can not be checked with a substring match, so we need to get the right groups first
168 $groups = $this->getGroups($match['grps'], $filtermethod);
169 $groupDNs = array_keys($groups);
236 * Initializes the Group Cache for nested groups
296 'grps' => $this->getUserGroups($entry), // we always return groups because its currently inexpensive
317 * Get the list of groups the given user is member of
326 $groups = [];
339 $groups = array_map([$this, 'dn2group'], $groupDNs);
342 $groups[] = $this->config['defaultgroup']; // always add default
348 $groups[] = $this->cleanGroup($this->config['primarygroup']);
351 sort($groups);
352 return $groups;