Delen via


IdentityUser Class

Definition

The default implementation of IdentityUser<TKey> which uses a string as a primary key.

public ref class IdentityUser : Microsoft::AspNetCore::Identity::IdentityUser<System::String ^>
public class IdentityUser : Microsoft.AspNetCore.Identity.IdentityUser<string>
type IdentityUser = class
    inherit IdentityUser<string>
Public Class IdentityUser
Inherits IdentityUser(Of String)
Inheritance
IdentityUser

Constructors

IdentityUser()

Initializes a new instance of IdentityUser.

IdentityUser(String)

Initializes a new instance of IdentityUser.

Properties

AccessFailedCount

Gets or sets the number of failed login attempts for the current user.

(Inherited from IdentityUser<TKey>)
ConcurrencyStamp

A random value that must change whenever a user is persisted to the store

(Inherited from IdentityUser<TKey>)
Email

Gets or sets the email address for this user.

(Inherited from IdentityUser<TKey>)
EmailConfirmed

Gets or sets a flag indicating if a user has confirmed their email address.

(Inherited from IdentityUser<TKey>)
Id

Gets or sets the primary key for this user.

(Inherited from IdentityUser<TKey>)
LockoutEnabled

Gets or sets a flag indicating if the user could be locked out.

(Inherited from IdentityUser<TKey>)
LockoutEnd

Gets or sets the date and time, in UTC, when any user lockout ends.

(Inherited from IdentityUser<TKey>)
NormalizedEmail

Gets or sets the normalized email address for this user.

(Inherited from IdentityUser<TKey>)
NormalizedUserName

Gets or sets the normalized user name for this user.

(Inherited from IdentityUser<TKey>)
PasswordHash

Gets or sets a salted and hashed representation of the password for this user.

(Inherited from IdentityUser<TKey>)
PhoneNumber

Gets or sets a telephone number for the user.

(Inherited from IdentityUser<TKey>)
PhoneNumberConfirmed

Gets or sets a flag indicating if a user has confirmed their telephone address.

(Inherited from IdentityUser<TKey>)
SecurityStamp

A random value that must change whenever a users credentials change (password changed, login removed)

(Inherited from IdentityUser<TKey>)
TwoFactorEnabled

Gets or sets a flag indicating if two factor authentication is enabled for this user.

(Inherited from IdentityUser<TKey>)
UserName

Gets or sets the user name for this user.

(Inherited from IdentityUser<TKey>)

Methods

ToString()

Returns the username for this user.

(Inherited from IdentityUser<TKey>)

Applies to