Skip to content

ApiUser

Namespace: IntegrationTests.ApiClient

Represents an application user in the system

public class ApiUser : IdentityUser

Inheritance ObjectIdentityUserOfStringIdentityUserApiUser

Properties

AccessFailedCount

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

public int AccessFailedCount { get; set; }

Property Value

Int32

ConcurrencyStamp

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

public string ConcurrencyStamp { get; set; }

Property Value

String

Email

Gets or sets the email address for this user.

public string Email { get; set; }

Property Value

String

EmailConfirmed

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

public bool EmailConfirmed { get; set; }

Property Value

Boolean

Id

Gets or sets the primary key for this user.

public string Id { get; set; }

Property Value

String

LockoutEnabled

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

public bool LockoutEnabled { get; set; }

Property Value

Boolean

LockoutEnd

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

public Nullable<DateTimeOffset> LockoutEnd { get; set; }

Property Value

Nullable<DateTimeOffset>

NormalizedEmail

Gets or sets the normalized email address for this user.

public string NormalizedEmail { get; set; }

Property Value

String

NormalizedUserName

Gets or sets the normalized user name for this user.

public string NormalizedUserName { get; set; }

Property Value

String

PasswordHash

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

public string PasswordHash { get; set; }

Property Value

String

PhoneNumber

Gets or sets a telephone number for the user.

public string PhoneNumber { get; set; }

Property Value

String

PhoneNumberConfirmed

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

public bool PhoneNumberConfirmed { get; set; }

Property Value

Boolean

SecurityStamp

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

public string SecurityStamp { get; set; }

Property Value

String

TwoFactorEnabled

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

public bool TwoFactorEnabled { get; set; }

Property Value

Boolean

UserName

Gets or sets the user name for this user.

public string UserName { get; set; }

Property Value

String

Constructors

ApiUser()

public ApiUser()