Lines Matching defs:user
29 * logged in user.
86 * Returns true, if the usermanager authtype has the capability and no user
111 //Depends on current user.
119 //Depends on the auth for use with user manager
145 * Forwards the result of the auth plugin of the logged in user and
165 * @param string $user Username
170 public function trustExternal($user, $pass, $sticky = false) {
173 if($module[1]->canDo('external') && $module[1]->trustExternal($user, $pass, $sticky)) {
180 'user' => $INPUT->str('u'),
190 * Check user+password [ MUST BE OVERRIDDEN ]
192 * Checks if the given user exists in one of the plugins and checks
194 * auth plugin of the user session.
198 * @param string $user the user name
202 public function checkPass($user, $pass) {
206 return $this->chained_auth->checkPass($user, $pass);
208 if($module[1]->canDo('external') && $module[1]->trustExternal($user, $pass)) {
213 if($module[1]->checkPass($user, $pass)) {
223 * Forwards the result of the auth plugin of the logged in user or
227 * name string full name of the user
228 * mail string email addres of the user
229 * grps array list of groups the user is in
233 * @param string $user the user name
234 * @return array containing user data or false
236 public function getUserData($user, $requireGroups=true) {
245 return $this->usermanager_auth->getUserData($user);
248 if(is_null($this->chained_auth)||(!is_null($INPUT->server) && $user != $INPUT->server->str('REMOTE_USER'))) {
250 $tmp_array = $module[1]->getUserData($user);
258 return $this->chained_auth->getUserData($user);
263 * Forwards the result of the auth plugin of the logged in user or
268 * @param string $user
275 public function createUser($user, $pass, $name, $mail, $grps = null) {
277 return $this->usermanager_auth->createUser($user, $pass, $name, $mail, $grps);
285 * Forwards the result of the auth plugin of the logged in user or
290 * @param string $user nick of the user to be changed
294 public function modifyUser($user, $changes) {
296 return $this->usermanager_auth->modifyUser($user, $changes);
298 msg("authorisation method does not allow modifying of user data", -1);
304 * Forwards the result of the auth plugin of the logged in user or
322 * Forwards the result of the auth plugin of the logged in user or
334 msg("authorisation method does not provide user counts", -1);
340 * Forwards the result of the auth plugin of the logged in user or
345 * @param int $start index of first user to be returned
361 * Forwards the result of the auth plugin of the logged in user or
379 * Forwards the result of the auth plugin of the logged in user or
398 * Forwards the result of the auth plugin of the logged in user or
412 * Forwards the result of the auth plugin of the logged in user or
418 * @param string $user username
421 public function cleanUser($user) {
426 return $this->usermanager_auth->cleanUser($user);
429 return $this->chained_auth->cleanUser($user);
431 return parent::cleanUser($user);
436 * Forwards the result of the auth plugin of the logged in user or
457 public function useSessionCache($user) {
460 return parent::useSessionCache($user);
462 return $this->chained_auth->useSessionCache($user);