Lines Matching refs:username
195 * @param string $username
199 public function getCachedUser($username, $fetchgroups = true) argument
204 if (isset($this->userCache[$username])) {
205 if (!$fetchgroups || is_array($this->userCache[$username]['grps'])) {
206 return $this->userCache[$username];
212 $cachename = getCacheName($username, '.pureldap-user');
215 $this->userCache[$username] = json_decode(
221 if (!$fetchgroups || is_array($this->userCache[$username]['grps'])) {
222 return $this->userCache[$username];
228 $info = $this->getUser($username, $fetchgroups);
232 $this->userCache[$username] = $info;
243 * @param string $username
247 abstract public function getUser($username, $fetchgroups = true); argument
252 * @param string $username
257 abstract public function setPassword($username, $newpass, $oldpass = null); argument