Lines Matching defs:users
18 /** @var int number of users to list on one page */
68 $users = $this->getUserData($this->filter);
69 $usercount = count($users);
70 $users = $this->applyPagination($users, $this->start, $this->pagesize);
82 foreach ($users as $user => $userinfo) {
213 * Get the filtered users that have a twofactor provider set
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)
237 foreach ($users as $user) {
257 * Get the current page of users
259 * @param array $users
264 protected function applyPagination($users, $start, $pagesize)
266 return array_slice($users, $start, $pagesize, true);