Lines Matching refs:users
14 protected $users = null; variable in auth_plugin_authimap2
116 if($this->users === null) $this->_loadUserData();
117 return isset($this->users[$user]) ? $this->users[$user] : false;
182 $this->users[$user] = compact('pass', 'name', 'mail', 'grps');
233 $this->users[$newuser] = $userinfo;
242 * @param array $users
245 public function deleteUsers($users) { argument
248 if(!is_array($users) || empty($users)) return 0;
250 if($this->users === null) $this->_loadUserData();
253 foreach($users as $user) {
255 if(!empty($this->users[$user]['protected'])) {
259 if(isset($this->users[$user])) $deleted[] = preg_quote($user, '/');
271 $count = count($this->users);
273 $count -= count($this->users);
289 if($this->users === null) $this->_loadUserData();
291 ksort($this->users);
298 foreach($this->users as $user => $info) {
323 if($this->users === null) $this->_loadUserData();
325 if(!count($filter)) return count($this->users);
330 foreach($this->users as $user => $info) {
395 $this->users = $this->_readUserFile($config_cascade['plainauth.users']['default']);
403 $this->users = array_merge($this->users, $protected);
416 $users = array();
417 if(!file_exists($file)) return $users;
431 $users[$row[0]]['pass'] = $row[1];
432 $users[$row[0]]['name'] = urldecode($row[2]);
433 $users[$row[0]]['mail'] = $row[3];
434 $users[$row[0]]['grps'] = $groups;
436 return $users;