Lines Matching refs:user
61 $user = Validator::attributes($request)->user();
63 assert($user instanceof User);
76 $user->setPassword($password);
80 if ($user_name !== $user->userName()) {
82 $user->setUserName($user_name);
89 if ($email !== $user->email()) {
91 $user->setEmail($email);
97 $user->setRealName($real_name);
98 $user->setPreference(UserInterface::PREF_CONTACT_METHOD, $contact_method);
99 $user->setPreference(UserInterface::PREF_LANGUAGE, $language);
100 $user->setPreference(UserInterface::PREF_TIME_ZONE, $time_zone);
101 $user->setPreference(UserInterface::PREF_IS_VISIBLE_ONLINE, (string) $visible_online);
105 $tree->setUserPreference($user, UserInterface::PREF_TREE_DEFAULT_XREF, $default_xref);
111 …:addMessage(I18N::translate('The details for “%s” have been updated.', e($user->userName())), 'suc…