IdentityUser<TKey> IdentityUser<TKey> IdentityUser<TKey> Class

Definition

Represents a user in the identity system

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>IdentityUser<TKey>IdentityUser<TKey>
Derived

Constructors

IdentityUser<TKey>() IdentityUser<TKey>() IdentityUser<TKey>()

Initializes a new instance of IdentityUser<TKey>.

IdentityUser<TKey>(String) IdentityUser<TKey>(String) IdentityUser<TKey>(String)

Initializes a new instance of IdentityUser<TKey>.

Properties

AccessFailedCount AccessFailedCount AccessFailedCount

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

ConcurrencyStamp ConcurrencyStamp ConcurrencyStamp

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

Email Email Email

Gets or sets the email address for this user.

EmailConfirmed EmailConfirmed EmailConfirmed

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

Id Id Id

Gets or sets the primary key for this user.

LockoutEnabled LockoutEnabled LockoutEnabled

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

LockoutEnd LockoutEnd LockoutEnd

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

NormalizedEmail NormalizedEmail NormalizedEmail

Gets or sets the normalized email address for this user.

NormalizedUserName NormalizedUserName NormalizedUserName

Gets or sets the normalized user name for this user.

PasswordHash PasswordHash PasswordHash

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

PhoneNumber PhoneNumber PhoneNumber

Gets or sets a telephone number for the user.

PhoneNumberConfirmed PhoneNumberConfirmed PhoneNumberConfirmed

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

SecurityStamp SecurityStamp SecurityStamp

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

TwoFactorEnabled TwoFactorEnabled TwoFactorEnabled

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

UserName UserName UserName

Gets or sets the user name for this user.

Methods

ToString() ToString() ToString()

Returns the username for this user.

Applies to