Home
last modified time | relevance | path

Searched refs:users (Results 1 – 25 of 1036) sorted by relevance

12345678910>>...42

/plugin/authimap2/
Dauth.php14 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) {
[all …]
/plugin/authyubikey/
Dauth.php55 if(auth_verifyPassword($pass, $this->users[$user]['pass']) === false) return false;
68 $yubikeys = $this->users[$user]['yubi'];
125 if($otp == $this->users[$user]['yubi'][$i]) {
175 $this->users[$newuser] = $userinfo;
184 * @param array $users array of users to be deleted
187 public function deleteUsers($users) { argument
190 if(!is_array($users) || empty($users)) return 0;
192 if($this->users === null) $this->_loadUserData();
195 foreach($users as $user) {
196 if(isset($this->users[$user])) $deleted[] = preg_quote($user, '/');
[all …]
Dauth.php.org15 protected $users = null;
35 if(!@is_readable($config_cascade['plainauth.users']['default'])) {
38 if(@is_writable($config_cascade['plainauth.users']['default'])) {
69 return auth_verifyPassword($pass, $this->users[$user]['pass']);
88 if($this->users === null) $this->_loadUserData();
89 return isset($this->users[$user]) ? $this->users[$user] : false;
150 if(!io_saveFile($config_cascade['plainauth.users']['default'], $userline, true)) {
155 $this->users[$user] = compact('pass', 'name', 'mail', 'grps');
191 …if(!io_replaceInFile($config_cascade['plainauth.users']['default'], '/^'.$user.':/', $userline, tr…
198 $this->users[$newuser] = $userinfo;
[all …]
/plugin/pureldap/_test/
DADClientTest.php148 $users = $client->getFilteredUsers(['grps' => 'alpha'], ADClient::FILTER_EQUAL);
149 $this->assertGreaterThan(20, count($users));
150 $this->assertLessThan(150, count($users));
152 $this->assertArrayHasKey('a.blaskett', $users, 'This user should be in alpha');
153 $this->assertArrayNotHasKey('a.legrand', $users, 'This user is not in alpha');
155 …$users = $client->getFilteredUsers(['grps' => 'alpha', 'name' => 'Andras'], ADClient::FILTER_START…
156 $this->assertCount(1, $users);
159 $users = $client->getFilteredUsers(['grps' => 'gamma nested'], ADClient::FILTER_EQUAL);
160 $this->assertArrayHasKey('m.mcnevin', $users, 'This user should be in Gamma Nested');
170 $users = $client->getFilteredUsers(['grps' => 'beta'], ADClient::FILTER_EQUAL);
[all …]
/plugin/shibbolethauth/files/
Dshibboleth.class.php28 var $users = null; variable in auth_shibboleth
160 if($this->users === null) $this->_loadUserData();
209 $users = $this->setUserGroups($mail,$grps);
212 $USERINFO['grps'] = $users['grps'];
287 if($this->users === null) $this->_loadUserData();
336 $users = $this->setUserGroups($mail,$grps);
341 return $users['grps'];
353 foreach ($this->users as $user){
381 $this->users[$mail]['name'] = $mail;
382 $this->users[$mail]['mail'] = $mail;
[all …]
/plugin/authgooglesheets/vendor/google/apiclient-services/src/
DGmail.php81 public $users; variable in Google\\Service\\Gmail
114 'users',
118 'path' => 'gmail/v1/users/{userId}/profile',
128 'path' => 'gmail/v1/users/{userId}/stop',
138 'path' => 'gmail/v1/users/{userId}/watch',
158 'path' => 'gmail/v1/users/{userId}/drafts',
168 'path' => 'gmail/v1/users/{userId}/drafts/{id}',
183 'path' => 'gmail/v1/users/{userId}/drafts/{id}',
202 'path' => 'gmail/v1/users/{userId}/drafts',
228 'path' => 'gmail/v1/users/{userId}/drafts/send',
[all …]
/plugin/authremoteuser/
Dauth.php16 protected $users = null; variable in auth_plugin_authremoteuser
112 if($this->users === null) $this->_loadUserData();
113 return isset($this->users[$user]) ? $this->users[$user] : false;
178 $this->users[$user] = compact('pass', 'name', 'mail', 'grps');
221 $this->users[$newuser] = $userinfo;
229 * @param array $users array of users to be deleted
232 public function deleteUsers($users) { argument
235 if(!is_array($users) || empty($users)) return 0;
237 if($this->users === null) $this->_loadUserData();
240 foreach($users as $user) {
[all …]
/plugin/authvk/
Dauth.php18 protected $users = null; variable in auth_plugin_authvk
94 return auth_verifyPassword($pass, $this->users[$user]['pass']);
113 if($this->users === null) $this->_loadUserData();
114 return isset($this->users[$user]) ? $this->users[$user] : false;
181 $this->users[$user] = compact('pass', 'name', 'mail', 'grps');
224 $this->users[$newuser] = $userinfo;
232 * @param array $users array of users to be deleted
235 public function deleteUsers($users) { argument
238 if(!is_array($users) || empty($users)) return 0;
240 if($this->users === null) $this->_loadUserData();
[all …]
/plugin/authserversso/
Dauth.php13 protected $users = null; variable in auth_plugin_authserversso
54 if($this->users === null) $this->loadUserData();
55 return $this->users[$user] ?? false;
91 $this->users[$user] = compact('pass', 'name', 'mail', 'grps');
134 $this->users[$newuser] = $userinfo;
138 public function deleteUsers($users) { argument
139 if(!is_array($users) || empty($users)) return 0;
142 if($this->users === null) $this->loadUserData();
145 foreach($users as $user) {
147 if(!empty($this->users[$user]['protected'])) {
[all …]
/plugin/authsaml/
Dsaml.php30 protected $users; variable in saml_handler
160 if($this->users === null) $this->_loadUserData();
161 return isset($this->users[$user]) ? $this->users[$user] : false;
256 function delete_user($users) { argument
259 return $auth->deleteUser($users);
262 return $this->deleteUsers($users);
276 $this->users = array();
290 $this->users[$row[0]]['name'] = urldecode($row[1]);
291 $this->users[$row[0]]['mail'] = $row[2];
292 $this->users[$row[0]]['grps'] = $groups;
[all …]
/plugin/authgooglesheets/
Dhelper.php25 protected $users = []; variable in helper_plugin_authgooglesheets
56 $users = $this->getUsers();
57 return $users[$user] ?? false;
95 $this->users[$row[$this->columnMap['user']]] = [
104 … $userCache->storeCache(json_encode(['columnMap' => $this->columnMap, 'users' => $this->users]));
106 $this->users = $decoded['users'] ?? null;
110 ksort($this->users);
156 $this->users = $this->getUsers();
169 … 'range' => $rangeStart . $this->alpha[$this->columnMap[$col]] . ($this->users[$user]['row']),
195 * @param array $users
[all …]
/plugin/submgr/
Dhelper.php152 $users = $this->getAffectedUsers($members);
154 foreach ($users as $user) {
157 msg(sprintf($this->getLang('appliedrule'), count($users)));
170 $users = $this->getAffectedUsers($members);
173 foreach ($users as $user) {
176 msg(sprintf($this->getLang('removedrule'), count($users)));
196 $users = array();
202 $users = array_merge($users, array_keys($found));
205 $users[] = $one;
209 $users = array_unique($users);
[all …]
/plugin/bureaucracy/
Daction.php42 $users = array();
47 $users[$username] = $data['name'];
49 if (count($users) === 10) {
54 if (count($users) === 1 && key($users) === $search) {
55 $users = array();
58 echo json_encode($users);
/plugin/bureaucracy-au/
Daction.php42 $users = array();
47 $users[$username] = $data['name'];
49 if (count($users) === 10) {
54 if (count($users) === 1 && key($users) === $search) {
55 $users = array();
60 echo $json->encode($users);
/plugin/bureaucracyau/
Daction.php42 $users = array();
47 $users[$username] = $data['name'];
49 if (count($users) === 10) {
54 if (count($users) === 1 && key($users) === $search) {
55 $users = array();
60 echo $json->encode($users);
/plugin/authsmartcard/
Dauth.php108 $users = $this->retrieveUsers(0, 2000, array('grps'=>$cn));
111 if(count($users)==1){
113 foreach($users as $key => &$value){
116 $users = array_values($users);
117 $this->__log("Found user=" . $users[0]['username'] ." with CN=$cn");
118 $this->__log(array($users[0]));
119 return $users[0];
122 if(count($users)>1){
214 * @param array $users
217 public function deleteUsers($users) { argument
[all …]
/plugin/authldaplocal/
Dauth.php29 protected $users = null; variable in auth_plugin_authldaplocal
87 if($this->users === null) $this->_loadUserData();
88 if(!isset($this->users[$user])) return false;
291 if($this->users === null) $this->_loadUserData();
292 if(is_array($this->users[$user]['grps'])) {
293 foreach($this->users[$user]['grps'] as $group) {
352 if($this->users === null) $this->_loadUserData();
353 if(isset($this->users[$user])) {
384 $this->users[$user] = compact('pass','name','mail','grps');
433 $this->users[$newuser] = $userinfo;
[all …]
/plugin/virtualgroup/
DVirtualGroups.php44 $users = [];
47 $users[] = $user;
50 return $users;
145 * @param string[] $users
148 public function addUsersToGroup($group, $users) argument
151 foreach ($users as $user) {
161 public function setGroupUsers($group, $users) argument
164 foreach ($users as $user) {
249 $users = unserialize($content);
251 if ($users === false) {
[all …]
Dadmin.php96 * @param string $users comma separated list of users
99 protected function addGroupUsers($group, $users) argument
105 $users = array_unique(array_map(
107 explode(',', $users)
110 if ($group && $users) {
111 $this->virtualGroups->addUsersToGroup($group, $users);
178 * @param string $users comma separated list of users
181 protected function editGroupUsers($group, $users) argument
187 $users = array_unique(array_map(
189 explode(',', $users)
[all …]
/plugin/authplaincas/
Dauth.php32 protected $users = null; variable in auth_plugin_authplaincas
466 $this->users[$USERINFO['uid']] = compact('name','mail','grps');
516 $this->users[$user] = $userinfo;
524 * @param array $users array of users to be deleted
527 function deleteUsers($users) { argument
528 if (!is_array($users) || empty($users)) return 0;
530 if ($this->users === null) $this->_loadUserData();
533 foreach ($users as $user) {
534 if (isset($this->users[$user])) $deleted[] = preg_quote($user,'/');
542 foreach ($deleted as $user) unset($this->users[$user]);
[all …]
/plugin/davcal/vendor/sabre/dav/lib/CalDAV/Xml/Property/
DInvite.php30 protected $users; variable in Sabre\\CalDAV\\Xml\\Property\\Invite
64 * @param array $users
66 function __construct(array $users, array $organizer = null) { argument
68 $this->users = $users;
80 return $this->users;
125 foreach ($this->users as $user) {
191 $users = [];
245 $users[] = $user;
249 return new self($users);
/plugin/likeit/
Dhelper.php27 public function setUser($users) { argument
30 if(!is_array($users)) {
31 if($users == '') return '';
32 $users_r = explode(" ",trim($users));
35 if(empty($users)) return '';
36 $users_r = $users;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Sheets/
DEditors.php34 public $users; variable in Google\\Service\\Sheets\\Editors
67 public function setUsers($users) argument
69 $this->users = $users;
76 return $this->users;
/plugin/twofactor/
Dadmin.php68 $users = $this->getUserData($this->filter);
69 $usercount = count($users);
70 $users = $this->applyPagination($users, $this->start, $this->pagesize);
82 foreach ($users as $user => $userinfo) {
220 $users = Settings::findUsers('twofactor');
221 return $this->applyFilter($users, $filter);
227 * @param string[] $users simple list of user names
231 protected function applyFilter($users, $filter) argument
237 foreach ($users as $user) {
259 * @param array $users
[all …]
/plugin/acknowledge/
Dhelper.php152 $users = $auth->retrieveUsers();
153 $users = array_map($cb, array_keys($users), array_values($users));
155 return $users;
311 $users = [];
316 $users = array_merge(
317 $users,
321 $users[] = $item;
325 return array_unique($users);
518 $users = [$user];
522 $users = $this->getPageAssignees($page);
[all …]

12345678910>>...42