IdentityUser Class
Represents a default EntityFramework IUser implementation.
Namespace: Microsoft.AspNet.Identity.EntityFramework
Assembly: Microsoft.AspNet.Identity.EntityFramework (in Microsoft.AspNet.Identity.EntityFramework.dll)
Inheritance Hierarchy
System.Object
Microsoft.AspNet.Identity.EntityFramework.IdentityUser<TKey, TLogin, TRole, TClaim>
Microsoft.AspNet.Identity.EntityFramework.IdentityUser
Syntax
public class IdentityUser : IdentityUser<string, IdentityUserLogin, IdentityUserRole, IdentityUserClaim>,
IUser, IUser<string>
public ref class IdentityUser : IdentityUser<String^, IdentityUserLogin^, IdentityUserRole^, IdentityUserClaim^>,
IUser, IUser<String^>
type IdentityUser =
class
inherit IdentityUser<string, IdentityUserLogin, IdentityUserRole, IdentityUserClaim>
interface IUser
interface IUser<string>
end
Public Class IdentityUser
Inherits IdentityUser(Of String, IdentityUserLogin, IdentityUserRole, IdentityUserClaim)
Implements IUser, IUser(Of String)
Constructors
Name | Description | |
---|---|---|
IdentityUser() | Initializes a new instance of the IdentityUser class. |
|
IdentityUser(String) | Initializes a new instance of the IdentityUser class using the specified username. |
Properties
Name | Description | |
---|---|---|
AccessFailedCount | Gets or sets the number of failures for the purposes of lockout.(Inherited from IdentityUser<TKey, TLogin, TRole, TClaim>.) |
|
Claims | Gets the collection of user claims.(Inherited from IdentityUser<TKey, TLogin, TRole, TClaim>.) |
|
Gets or sets the email for the user.(Inherited from IdentityUser<TKey, TLogin, TRole, TClaim>.) |
||
EmailConfirmed | Gets or sets a value that indicates whether the email is confirmed.(Inherited from IdentityUser<TKey, TLogin, TRole, TClaim>.) |
|
Id | Gets or sets the user identifier.(Inherited from IdentityUser<TKey, TLogin, TRole, TClaim>.) |
|
LockoutEnabled | Gets or sets a value that indicates whether lockout enabled for this user.(Inherited from IdentityUser<TKey, TLogin, TRole, TClaim>.) |
|
LockoutEndDateUtc | Gets or sets the date time value (in UTC) when lockout ends, any time in the past is considered not locked out.(Inherited from IdentityUser<TKey, TLogin, TRole, TClaim>.) |
|
Logins | Gets the collection of logins for the user.(Inherited from IdentityUser<TKey, TLogin, TRole, TClaim>.) |
|
PasswordHash | Gets or sets the salted/hashed form of the user password.(Inherited from IdentityUser<TKey, TLogin, TRole, TClaim>.) |
|
PhoneNumber | Gets or sets the phone number for the user.(Inherited from IdentityUser<TKey, TLogin, TRole, TClaim>.) |
|
PhoneNumberConfirmed | Gets or sets the value that indicates whether the phone number is confirmed. The default is false.(Inherited from IdentityUser<TKey, TLogin, TRole, TClaim>.) |
|
Roles | Gets the collection of roles for the user.(Inherited from IdentityUser<TKey, TLogin, TRole, TClaim>.) |
|
SecurityStamp | Gets or sets a random value that changes when a user’s credentials change.(Inherited from IdentityUser<TKey, TLogin, TRole, TClaim>.) |
|
TwoFactorEnabled | Gets or sets a value that indicates whether two-factor authentication is enabled for the user.(Inherited from IdentityUser<TKey, TLogin, TRole, TClaim>.) |
|
UserName | Gets or sets the user name.(Inherited from IdentityUser<TKey, TLogin, TRole, TClaim>.) |
Methods
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.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.AspNet.Identity.EntityFramework Namespace
ASP.NET Identity
Return to top