Lines Matching refs:user
93 $user = $this->user_service->findByUserName(user_name: $username);
95 if ($user !== null) {
101 $user = $this->user_service->findByEmail(email: $email);
103 if ($user !== null) {
114 …$user = $this->user_service->create(user_name: $username, real_name:$realname, email: $email, pass…
115 $user->setPreference(setting_name: UserInterface::PREF_TIME_ZONE, setting_value: $timezone);
116 $user->setPreference(setting_name: UserInterface::PREF_LANGUAGE, setting_value: $language);
117 … $user->setPreference(setting_name: UserInterface::PREF_IS_ACCOUNT_APPROVED, setting_value: '1');
118 … $user->setPreference(setting_name: UserInterface::PREF_IS_EMAIL_VERIFIED, setting_value: '1');
119 …$user->setPreference(setting_name: UserInterface::PREF_CONTACT_METHOD, setting_value: 'messaging');
120 $io->success('User ' . $user->id() . ' created.');
123 … $user->setPreference(setting_name: UserInterface::PREF_IS_ADMINISTRATOR, setting_value: '1');