Share via


IdentityUser<TKey> Class

Definition

Represents a user in the identity system

generic <typename TKey>
 where TKey : IEquatable<TKey>public ref class IdentityUser
public class IdentityUser<TKey> where TKey : IEquatable<TKey>
type IdentityUser<'Key (requires 'Key :> IEquatable<'Key>)> = class
Public Class IdentityUser(Of TKey)

Type Parameters

TKey

The type used for the primary key for the user.

Inheritance
IdentityUser<TKey>
Derived

Constructors

IdentityUser<TKey>()

Initializes a new instance of IdentityUser<TKey>.

IdentityUser<TKey>(String)

Initializes a new instance of IdentityUser<TKey>.

Properties

AccessFailedCount

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

ConcurrencyStamp

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

Email

Gets or sets the email address for this user.

EmailConfirmed

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

Id

Gets or sets the primary key for this user.

LockoutEnabled

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

LockoutEnd

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

NormalizedEmail

Gets or sets the normalized email address for this user.

NormalizedUserName

Gets or sets the normalized user name for this user.

PasswordHash

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

PhoneNumber

Gets or sets a telephone number for the user.

PhoneNumberConfirmed

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

SecurityStamp

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

TwoFactorEnabled

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

UserName

Gets or sets the user name for this user.

Methods

ToString()

Returns the username for this user.

Applies to