Lines Matching +full:- +full:- +full:name
10 /** @var string The login name of the user */
12 /** @var string The full name of the user */
13 public $name; variable in dokuwiki\\Remote\\Response\\User
25 * @param string $name
29 public function __construct($login = '', $name = '', $mail = '', $groups = []) argument
35 $this->login = $login;
36 $this->name = $name;
37 $this->mail = $mail;
38 $this->groups = $groups;
40 if ($this->login === '') {
41 $this->login = $INPUT->server->str('REMOTE_USER');
44 if ($this->login === '') {
49 if ($this->login === $INPUT->server->str('REMOTE_USER')) {
50 $this->name = $this->name ?: $USERINFO['name'];
51 $this->mail = $this->mail ?: $USERINFO['mail'];
52 $this->groups = $this->groups ?: $USERINFO['grps'];
55 $userData = $auth->getUserData($this->login);
56 $this->name = $this->name ?: $userData['name'];
57 $this->mail = $this->mail ?: $userData['mail'];
58 $this->groups = $this->groups ?: $userData['grps'];
62 $this->isadmin = auth_isAdmin($this->login, $this->groups);
63 $this->ismanager = auth_isManager($this->login, $this->groups);
69 return $this->login;