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

Definition

Represents a user in the identity system

public class IdentityUser<TKey> : Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUser<TKey,Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserClaim<TKey>,Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserRole<TKey>,Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserLogin<TKey>> where TKey : IEquatable<TKey>
type IdentityUser<'Key (requires 'Key :> IEquatable<'Key>)> = class
    inherit IdentityUser<'Key, IdentityUserClaim<'Key>, IdentityUserRole<'Key>, IdentityUserLogin<'Key> (requires 'Key :> IEquatable<'Key>)>
Public Class IdentityUser(Of TKey)
Inherits IdentityUser(Of TKey, IdentityUserClaim(Of TKey), IdentityUserRole(Of TKey), IdentityUserLogin(Of TKey))

Type Parameters

TKey

The type used for the primary key for the user.

Inheritance
Derived

Constructors

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

Properties

AccessFailedCount AccessFailedCount AccessFailedCount

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

(Inherited from IdentityUser<TKey,TUserClaim,TUserRole,TUserLogin>)
Claims Claims Claims

Navigation property for the claims this user possesses.

(Inherited from IdentityUser<TKey,TUserClaim,TUserRole,TUserLogin>)
ConcurrencyStamp ConcurrencyStamp ConcurrencyStamp

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

(Inherited from IdentityUser<TKey,TUserClaim,TUserRole,TUserLogin>)
Email Email Email

Gets or sets the email address for this user.

(Inherited from IdentityUser<TKey,TUserClaim,TUserRole,TUserLogin>)
EmailConfirmed EmailConfirmed EmailConfirmed

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

(Inherited from IdentityUser<TKey,TUserClaim,TUserRole,TUserLogin>)
Id Id Id

Gets or sets the primary key for this user.

(Inherited from IdentityUser<TKey,TUserClaim,TUserRole,TUserLogin>)
LockoutEnabled LockoutEnabled LockoutEnabled

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

(Inherited from IdentityUser<TKey,TUserClaim,TUserRole,TUserLogin>)
LockoutEnd LockoutEnd LockoutEnd

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

(Inherited from IdentityUser<TKey,TUserClaim,TUserRole,TUserLogin>)
Logins Logins Logins

Navigation property for this users login accounts.

(Inherited from IdentityUser<TKey,TUserClaim,TUserRole,TUserLogin>)
NormalizedEmail NormalizedEmail NormalizedEmail

Gets or sets the normalized email address for this user.

(Inherited from IdentityUser<TKey,TUserClaim,TUserRole,TUserLogin>)
NormalizedUserName NormalizedUserName NormalizedUserName

Gets or sets the normalized user name for this user.

(Inherited from IdentityUser<TKey,TUserClaim,TUserRole,TUserLogin>)
PasswordHash PasswordHash PasswordHash

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

(Inherited from IdentityUser<TKey,TUserClaim,TUserRole,TUserLogin>)
PhoneNumber PhoneNumber PhoneNumber

Gets or sets a telephone number for the user.

(Inherited from IdentityUser<TKey,TUserClaim,TUserRole,TUserLogin>)
PhoneNumberConfirmed PhoneNumberConfirmed PhoneNumberConfirmed

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

(Inherited from IdentityUser<TKey,TUserClaim,TUserRole,TUserLogin>)
Roles Roles Roles

Navigation property for the roles this user belongs to.

(Inherited from IdentityUser<TKey,TUserClaim,TUserRole,TUserLogin>)
SecurityStamp SecurityStamp SecurityStamp

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

(Inherited from IdentityUser<TKey,TUserClaim,TUserRole,TUserLogin>)
TwoFactorEnabled TwoFactorEnabled TwoFactorEnabled

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

(Inherited from IdentityUser<TKey,TUserClaim,TUserRole,TUserLogin>)
UserName UserName UserName

Gets or sets the user name for this user.

(Inherited from IdentityUser<TKey,TUserClaim,TUserRole,TUserLogin>)

Methods

ToString() ToString() ToString()

Returns the username for this user.

(Inherited from IdentityUser<TKey,TUserClaim,TUserRole,TUserLogin>)

Applies to