Interface ILocalUser
Represents a user with a local login.
Inherited Members
Namespace: IRM.AspNetCore.Identity
Assembly: IRM.AspNetCore.Identity.dll
Syntax
public interface ILocalUser : IUser, IUserIdentifiers, IUniqueIdentifier, IHaveEmail, IEventAggregate
Properties
AccessFailedCount
Gets or sets the number of failed login attempts for the current user.
Declaration
int AccessFailedCount { get; set; }
Property Value
System.Int32
|
LockoutEnabled
Gets or sets a flag indicating if the user could be locked out.
Declaration
bool LockoutEnabled { get; set; }
Property Value
Boolean
True if the user could be locked out, otherwise false. |
LockoutEnd
Gets or sets the date and time, in UTC, when any user lockout ends.
Declaration
DateTimeOffset? LockoutEnd { get; set; }
Property Value
System.Nullable<System.DateTimeOffset>
|
Remarks
A value in the past means the user is not locked out.
PasswordHash
Gets or sets a salted and hashed representation of the password for this user.
Declaration
string PasswordHash { get; set; }
Property Value
String
|
PasswordLastChanged
Gets or sets the date and time, in UTC, when the user last changed password.
Declaration
DateTimeOffset? PasswordLastChanged { get; set; }
Property Value
System.Nullable<System.DateTimeOffset>
|
Remarks
A missing value means the user has not any password set yet or that the user must change password next time when signing in.
PasswordNeverExpires
Gets or sets if the password never expires and therefor are never forced to be changed.
Declaration
bool PasswordNeverExpires { get; set; }
Property Value
Boolean
|