User::getPreferredLangcode($fallback_to_default = TRUE)
public User::addRole($rid) Add a role to
public User::setEmail($mail) Sets the email
public User::getDisplayName() Returns the
public User::checkExistingPassword(UserInterface $account_unchanged)
public static User::postDelete(EntityStorageInterface $storage, array $entities)
public User::getLastAccessedTime() The
public User::activate() Activates the user
public User::getRoles($exclude_locked_roles = FALSE)
public User::hasRole($rid) Whether a user
Page 4 of 5