IdentityUser<TKey, TLogin, TRole, TClaim> Class
Default EntityFramework IUser implementation
Assembly: Microsoft.AspNet.Identity.EntityFramework (in Microsoft.AspNet.Identity.EntityFramework.dll)
Microsoft.AspNet.Identity.EntityFramework.IdentityUser<TKey, TLogin, TRole, TClaim>
Microsoft.AspNet.Identity.EntityFramework.IdentityUser
public class IdentityUser<TKey, TLogin, TRole, TClaim> : IUser<TKey> where TLogin : IdentityUserLogin<TKey> where TRole : IdentityUserRole<TKey> where TClaim : IdentityUserClaim<TKey>
Type Parameters
- TKey
The type of the key.
- TLogin
The type of the login.
- TRole
The type of the role.
- TClaim
The type of the claim.
| Name | Description | |
|---|---|---|
![]() | IdentityUser<TKey, TLogin, TRole, TClaim>() | Initializes a new instance of the IdentityUser<TKey, TLogin, TRole, TClaim> class. |
| Name | Description | |
|---|---|---|
![]() | AccessFailedCount | Gets or sets the number of failures for the purposes of lockout. |
![]() | Claims | Gets the collection of user claims. |
![]() | Gets or sets the email for the user. | |
![]() | EmailConfirmed | Gets or sets a value that indicates whether the email is confirmed. |
![]() | Id | Gets or sets the user identifier. |
![]() | LockoutEnabled | Gets or sets a value that indicates whether lockout enabled for this user. |
![]() | LockoutEndDateUtc | Gets or sets the date time value (in UTC) when lockout ends, any time in the past is considered not locked out. |
![]() | Logins | Gets the collection of logins for the user. |
![]() | PasswordHash | Gets or sets the salted/hashed form of the user password. |
![]() | PhoneNumber | Gets or sets the phone number for the user. |
![]() | PhoneNumberConfirmed | Gets or sets the value that indicates whether the phone number is confirmed. The default is false. |
![]() | Roles | Gets the collection of roles for the user. |
![]() | SecurityStamp | Gets or sets a random value that changes when a user’s credentials change. |
![]() | TwoFactorEnabled | Gets or sets a value that indicates whether two-factor authentication is enabled for the user. |
![]() | UserName | Gets or sets the user name. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


