Interface IIdentityUser<TKey>
Represents a user in the identity system
public interface IIdentityUser<TKey> : IConcurrency<TKey> where TKey : IEquatable<TKey>
Type Parameters
TKey
The type used for the primary key for the user.
- Inherited Members
Properties
AccessFailedCount
Gets or sets the number of failed login attempts for the current user.
int AccessFailedCount { get; set; }
Property Value
Gets or sets the email address for this user.
string Email { get; set; }
Property Value
EmailConfirmed
Gets or sets a flag indicating if a user has confirmed their email address.
bool EmailConfirmed { get; set; }
Property Value
- bool
True if the email address has been confirmed, otherwise false.
LockoutEnabled
Gets or sets a flag indicating if the user could be locked out.
bool LockoutEnabled { get; set; }
Property Value
- bool
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.
DateTimeOffset? LockoutEnd { get; set; }
Property Value
Remarks
A value in the past means the user is not locked out.
NormalizedEmail
Gets or sets the normalized email address for this user.
string NormalizedEmail { get; set; }
Property Value
NormalizedUserName
Gets or sets the normalized user name for this user.
string NormalizedUserName { get; set; }
Property Value
PasswordHash
Gets or sets a salted and hashed representation of the password for this user.
string PasswordHash { get; set; }
Property Value
PhoneNumber
Gets or sets a telephone number for the user.
string PhoneNumber { get; set; }
Property Value
PhoneNumberConfirmed
Gets or sets a flag indicating if a user has confirmed their telephone address.
bool PhoneNumberConfirmed { get; set; }
Property Value
- bool
True if the telephone number has been confirmed, otherwise false.
SecurityStamp
A random value that must change whenever a users credentials change (password changed, login removed)
string SecurityStamp { get; set; }
Property Value
TwoFactorEnabled
Gets or sets a flag indicating if two factor authentication is enabled for this user.
bool TwoFactorEnabled { get; set; }
Property Value
- bool
True if 2fa is enabled, otherwise false.
UserName
Gets or sets the user name for this user.
string UserName { get; set; }