@MustImplementEqualsAndHashcode public interface IUser extends com.helger.commons.type.ITypedObject<String>, com.helger.commons.name.IHasDisplayName, com.helger.commons.name.IHasDescription, com.helger.datetime.IHasCreationDateTime, com.helger.datetime.IHasLastModificationDateTime, com.helger.datetime.IHasDeletionDateTime, IAuthSubject, com.helger.commons.collections.attrs.IReadonlyAttributeContainer
| Modifier and Type | Method and Description |
|---|---|
int |
getConsecutiveFailedLoginCount() |
Locale |
getDesiredLocale() |
String |
getDisplayName() |
String |
getEmailAddress()
The email address is optional since 2.6.3
|
String |
getFirstName() |
org.joda.time.DateTime |
getLastLoginDateTime() |
String |
getLastName() |
int |
getLoginCount() |
String |
getLoginName() |
PasswordHash |
getPasswordHash() |
boolean |
isAdministrator() |
boolean |
isDeleted() |
boolean |
isDisabled() |
boolean |
isEnabled() |
getLastModificationDateTimecontainsAttribute, containsNoAttribute, getAllAttributeNames, getAllAttributes, getAllAttributeValues, getAttributeAsBigDecimal, getAttributeAsBigDecimal, getAttributeAsBigInteger, getAttributeAsBigInteger, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDouble, getAttributeAsDouble, getAttributeAsInt, getAttributeAsInt, getAttributeAsLong, getAttributeAsLong, getAttributeAsString, getAttributeAsString, getAttributeCount, getAttributeNames, getAttributeObject, getCastedAttribute, getCastedAttribute, getTypedAttribute, getTypedAttributeboolean isAdministrator()
true if the user has the ID
CSecurity.USER_ADMINISTRATOR_ID, false
otherwise@Nullable String getEmailAddress()
null.@Nonnull PasswordHash getPasswordHash()
null.@Nonnull String getDisplayName()
getDisplayName in interface com.helger.commons.name.IHasDisplayNamenull.@Nullable Locale getDesiredLocale()
null.@Nullable org.joda.time.DateTime getLastLoginDateTime()
null if the user never logged in.@Nonnegative int getLoginCount()
@Nonnegative int getConsecutiveFailedLoginCount()
boolean isDeleted()
true if this user is deleted, false if it
is activeboolean isEnabled()
true if this user is enabled, false if it
is disabledisDisabled()boolean isDisabled()
true if this user is disabled, false if
it is enabledisEnabled()Copyright © 2014–2015 Philip Helger. All rights reserved.