Home
last modified time | relevance | path

Searched refs:groups (Results 1 - 12 of 12) sorted by relevance

/dokuwiki/lib/plugins/authad/adLDAP/classes/
H A DadLDAPComputers.php114 //get a list of the groups
115 $groups = $this->groups($computerName, array("memberof"), $recursive); variable
118 if (in_array($group, $groups)){
126 * Get the groups a computer is in
132 public function groups($computerName, $recursive = NULL) function
140 $groups = $this->adldap->utilities()->niceNames($info[0]["memberof"]); //presuming the entry returned is our guy (unique usernames) variable
143 foreach ($groups as $id => $groupName){
145 $groups = array_merge($groups, variable
[all...]
H A DadLDAPContacts.php100 * 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) function
114 $groups = $this->adldap->utilities()->niceNames($info[0]["memberof"]); //presuming the entry returned is our contact variable
117 foreach ($groups as $id => $groupName){
119 $groups = array_merge($groups, $extraGroups); variable
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); global() variable
[all...]
H A DadLDAPUtils.php60 * @param array $groups
63 public function niceNames($groups)
67 for ($i=0; $i<$groups["count"]; $i++){ // For each group
68 $line = $groups[$i];
H A DadLDAPUsers.php186 * @param bool $recursive Recursive list of groups
190 public function groups($username, $recursive = NULL, $isGUID = false) function
198 $groups = $this->adldap->utilities()->niceNames($info[0]["memberof"]); // Presuming the entry returned is our guy (unique usernames) variable
201 foreach ($groups as $id => $groupName){
203 $groups = array_merge($groups, $extraGroups); variable
207 return $groups;
292 * @param bool $recursive Check groups recursively
303 // Get a list of the groups
304 $groups variable
[all...]
H A DadLDAPGroups.php304 * Return a list of groups in a group
307 * @param bool $recursive Recursively get groups
317 $groups = $info[0]["member"]; variable
318 if (!is_array($groups)) {
324 for ($i=0; $i<$groups["count"]; $i++){
325 $filter = "(&(objectCategory=group)(distinguishedName=" . $this->adldap->utilities()->ldapSlashes($groups[$i]) . "))";
332 $filter = "(&(objectCategory=group)(distinguishedName=" . $this->adldap->utilities()->ldapSlashes($groups[$i]) . "))";
457 * Return a complete list of "groups in groups"
478 $groups variable
[all...]
/dokuwiki/inc/
H A Dauth.php447 * @param array $groups List of groups the user is in
455 function auth_ismanager($user = null, $groups = null, $adminonly = false, $recache=false) {
472 if (is_null($groups)) {
475 $groups = (array) $USERINFO['grps']; variable
477 $groups = $auth->getUserData($user); variable
478 $groups = $groups ? $groups['grps'] : []; variable
484 $cachekey = serialize([$user, $adminonly, $groups]);
538 $groups = array_map([\\dokuwiki\\Utf8\\PhpString::class, 'strtolower'], $groups); global() variable
541 $groups = array_map(array($auth, 'cleanGroup'), $groups); global() variable
620 $groups =& $data['groups']; global() variable
641 $groups = array_map('utf8_strtolower', $groups); global() variable
644 $groups = array_map(array($auth, 'cleanGroup'), (array) $groups); global() variable
[all...]
/dokuwiki/lib/plugins/authplain/
H A Dauth.php83 * grps array list of groups the user is in
105 * @param array $grps list of groups the user is in
110 $groups = join(',', $grps); variable
111 $userline = array($user, $pass, $name, $mail, $groups);
150 // set default group if no groups specified
325 * Retrieves groups.
326 * Loads complete user data into memory before searching for groups.
329 * @param int $limit max number of groups to be returned
334 $groups = []; variable
338 $groups variable
418 $groups = array_values(array_filter(explode(",", $row[4]))); global() variable
[all...]
/dokuwiki/lib/plugins/authpdo/
H A Dauth.php20 /** @var null|array The list of all groups */
64 'select-user-groups',
65 'select-groups',
76 'select-user-groups',
77 'select-groups',
87 'select-user-groups',
96 'select-user-groups',
105 'select-user-groups',
114 'select-user-groups',
119 // can groups b
493 $groups = array_keys($this->selectGroups()); global() variable
590 $groups = array($conf['defaultgroup']); // always add default config global() variable
603 $groups = array_unique($groups); global() variable
621 $groups = array(); global() variable
[all...]
/dokuwiki/inc/Remote/
H A DApiCore.php154 'doc' => 'Returns the permissions of a given wiki page. By default, for current user/groups'
671 * @param array|null $groups array of groups
674 public function aclCheck($id, $user = null, $groups = null)
683 if ($groups === null) {
686 $groups = array(); variable
688 $groups = $userinfo['grps']; variable
691 return auth_aclcheck($id, $user, $groups);
/dokuwiki/lib/plugins/acl/
H A Dadmin.php450 $groups = array(ltrim($who, '@')); variable
455 $groups = array(); variable
457 $groups = $info['grps']; variable
462 $perm = auth_aclcheck($check, $user, $groups);
580 // get special users and groups
606 // store non-special users and groups for later selection dialog
799 * Print a user/group selector (reusing already used users and groups)
/dokuwiki/lib/plugins/usermanager/
H A Dadmin.php268 $groups = join(', ', $grps); variable
281 ptln(" <td>".hsc($name)."</td><td>".hsc($mail)."</td><td>".hsc($groups)."</td>");
383 $name = $mail = $groups = '';
388 if (!empty($grps)) $groups = join(',', $grps);
451 $groups,
909 * @return array (user, password, full name, email, array(groups))
1058 * csv file should have 4 columns, user_id, full name, email, groups (comma separated)
/dokuwiki/lib/plugins/authad/
H A Dauth.php178 * grps array list of groups the user is in
192 * @param bool $requireGroups (optional) - ignored, groups are always supplied by this plugin
237 $info['grps'] = $adldap->user()->groups($this->getUserName($user), (bool) $this->opts['recursive_groups']);
245 // always add the default group to the list of groups
250 // add the user's domain to the groups

Completed in 12 milliseconds