UserInterface::isActive

public UserInterface::isActive() Returns TRUE if the user is active. Return value bool TRUE if the user is active, false otherwise. File core/modules/user/src/UserInterface.php, line 128 Class UserInterface Provides an interface defining a user entity. Namespace Drupal\user Code public function isActive();

UserInterface::isBlocked

public UserInterface::isBlocked() Returns TRUE if the user is blocked. Return value bool TRUE if the user is blocked, false otherwise. File core/modules/user/src/UserInterface.php, line 136 Class UserInterface Provides an interface defining a user entity. Namespace Drupal\user Code public function isBlocked();

UserInterface::removeRole

public UserInterface::removeRole($rid) Remove a role from a user. Parameters string $rid: The role ID to remove. File core/modules/user/src/UserInterface.php, line 41 Class UserInterface Provides an interface defining a user entity. Namespace Drupal\user Code public function removeRole($rid);

UserInterface::setEmail

public UserInterface::setEmail($mail) Sets the email address of the user. Parameters string $mail: The new email address of the user. Return value \Drupal\user\UserInterface The called user entity. File core/modules/user/src/UserInterface.php, line 82 Class UserInterface Provides an interface defining a user entity. Namespace Drupal\user Code public function setEmail($mail);

UserInterface::setExistingPassword

public UserInterface::setExistingPassword($password) Sets the existing plain text password. Required for validation when changing the password, name or email fields. Parameters string $password: The existing plain text password of the user. Return value $this File core/modules/user/src/UserInterface.php, line 172 Class UserInterface Provides an interface defining a user entity. Namespace Drupal\user Code public function setExistingPassword($password);

UserInterface::setLastAccessTime

public UserInterface::setLastAccessTime($timestamp) Sets the UNIX timestamp when the user last accessed the site.. Parameters int $timestamp: Timestamp of the last access. Return value \Drupal\user\UserInterface The called user entity. File core/modules/user/src/UserInterface.php, line 101 Class UserInterface Provides an interface defining a user entity. Namespace Drupal\user Code public function setLastAccessTime($timestamp);

UserInterface::setLastLoginTime

public UserInterface::setLastLoginTime($timestamp) Sets the UNIX timestamp when the user last logged in. Parameters int $timestamp: Timestamp of the last login time. Return value \Drupal\user\UserInterface The called user entity. File core/modules/user/src/UserInterface.php, line 120 Class UserInterface Provides an interface defining a user entity. Namespace Drupal\user Code public function setLastLoginTime($timestamp);

UserInterface::setPassword

public UserInterface::setPassword($password) Sets the user password. Parameters string $password: The new unhashed password. Return value \Drupal\user\UserInterface The called user entity. File core/modules/user/src/UserInterface.php, line 71 Class UserInterface Provides an interface defining a user entity. Namespace Drupal\user Code public function setPassword($password);

UserInterface::setUsername

public UserInterface::setUsername($username) Sets the username of this account. Parameters string $username: The new user name. Return value \Drupal\user\UserInterface The called user entity. File core/modules/user/src/UserInterface.php, line 52 Class UserInterface Provides an interface defining a user entity. Namespace Drupal\user Code public function setUsername($username);

UserListBuilder

Defines a class to build a listing of user entities. Hierarchy class \Drupal\Core\Entity\EntityHandlerBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityListBuilder implements EntityHandlerInterface, EntityListBuilderInterfaceclass \Drupal\user\UserListBuilder See also \Drupal\user\Entity\User File core/modules/user/src/UserListBuilder.php, line 20 Namespace Drupal\user Members Name Modifiers Type Description DependencySerializatio