Lines Matching refs:user
72 * @param string $user Username
78 public function trustExternal($user, $pass, $sticky = false) argument
85 if (!empty($user)) {
87 $server = $this->con . 'users/' . $user;
88 $xml = $this->nc_request($server, $user, $pass);
108 $_SERVER['REMOTE_USER'] = $user;
109 $_SESSION[DOKU_COOKIE]['auth']['user'] = $user;
131 * @param string $user the user name
136 public function checkPass($user, $pass) argument
151 * @param string $user the user name
156 public function getUserData($user, $requireGroups=true) argument
179 * @param string $user
198 * @param string $user nick of the user to be changed
251 foreach($xml->data->users->element as $user) {
253 if ($user == $_SESSION[DOKU_COOKIE]['auth']['user']) {
257 $server = $this->con . 'users/' . (string)$user;
260 $usr['user'] = (string)$user;
358 * @param string $user username
361 public function cleanUser($user) argument
363 return $user;
407 * @param string $user - The username
437 * @param string $user the user name
442 protected function nc_request($url, $user, $pass) { argument
443 curl_setopt($this->curl, CURLOPT_USERPWD, $user . ':' . $pass);