IdentityUser<TKey, TLogin, TRole, TClaim> Class

 

Default EntityFramework IUser implementation

Namespace:   Microsoft.AspNet.Identity.EntityFramework
Assembly:  Microsoft.AspNet.Identity.EntityFramework (in Microsoft.AspNet.Identity.EntityFramework.dll)

System.Object
  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.

NameDescription
System_CAPS_pubmethodIdentityUser<TKey, TLogin, TRole, TClaim>()

Initializes a new instance of the IdentityUser<TKey, TLogin, TRole, TClaim> class.

NameDescription
System_CAPS_pubpropertyAccessFailedCount

Gets or sets the number of failures for the purposes of lockout.

System_CAPS_pubpropertyClaims

Gets the collection of user claims.

System_CAPS_pubpropertyEmail

Gets or sets the email for the user.

System_CAPS_pubpropertyEmailConfirmed

Gets or sets a value that indicates whether the email is confirmed.

System_CAPS_pubpropertyId

Gets or sets the user identifier.

System_CAPS_pubpropertyLockoutEnabled

Gets or sets a value that indicates whether lockout enabled for this user.

System_CAPS_pubpropertyLockoutEndDateUtc

Gets or sets the date time value (in UTC) when lockout ends, any time in the past is considered not locked out.

System_CAPS_pubpropertyLogins

Gets the collection of logins for the user.

System_CAPS_pubpropertyPasswordHash

Gets or sets the salted/hashed form of the user password.

System_CAPS_pubpropertyPhoneNumber

Gets or sets the phone number for the user.

System_CAPS_pubpropertyPhoneNumberConfirmed

Gets or sets the value that indicates whether the phone number is confirmed. The default is false.

System_CAPS_pubpropertyRoles

Gets the collection of roles for the user.

System_CAPS_pubpropertySecurityStamp

Gets or sets a random value that changes when a user’s credentials change.

System_CAPS_pubpropertyTwoFactorEnabled

Gets or sets a value that indicates whether two-factor authentication is enabled for the user.

System_CAPS_pubpropertyUserName

Gets or sets the user name.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(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.

Return to top
Show: