Lines Matching defs:grps
84 * grps array list of groups the user is in
88 * @param bool $requireGroups (optional) ignored by this plugin, grps info always supplied
106 * @param array $grps list of groups the user is in
109 protected function createUserLine($user, $pass, $name, $mail, $grps)
111 $groups = implode(',', $grps);
127 * function if grps are not specified (default behaviour).
136 * @param array $grps
139 public function createUser($user, $pwd, $name, $mail, $grps = null)
153 if (!is_array($grps)) $grps = [$conf['defaultgroup']];
156 $userline = $this->createUserLine($user, $pass, $name, $mail, $grps);
167 'grps' => $grps
215 $userinfo['grps']
345 $groups = array_merge($groups, array_diff($info['grps'], $groups));
433 $users[$row[0]]['grps'] = $groups;
468 } elseif ($item == 'grps') {
469 if (!count(preg_grep($pattern, $info['grps']))) return false;