Skip to content

DapperMaticUser ​

Namespace: MJCZone.DapperMatic.AspNetCore.Accounts

Assembly: MJCZone.DapperMatic.AspNetCore

Summary ​

A built-in account: a person who signs in to DapperMatic with an email and a password (ASP.NET Core Identity's sign-in, kept in DapperMatic's tables). Their roles are per place: the platform's (with no tenant), or a membership's in a tenant.

sealed public

Contents ​

Constructors (1) | Methods (4) | Properties (19)

Constructors ​

DapperMaticUser ​

csharp
DapperMaticUser()

Methods ​

GetType ​

csharp
GetType()

ToString ​

csharp
ToString()

Equals ​

csharp
Equals()

GetHashCode ​

csharp
GetHashCode()

Properties ​

Id ​

Gets or sets the account's id.

Type: string

UserName ​

Gets or sets the name the account signs in with: its email.

Type: string?

NormalizedUserName ​

Gets or sets the name, normalized for lookups.

Type: string?

Email ​

Gets or sets the email.

Type: string?

NormalizedEmail ​

Gets or sets the email, normalized for lookups.

Type: string?

EmailConfirmed ​

Gets or sets a value indicating whether the email is confirmed.

Type: bool?

PasswordHash ​

Gets or sets the password's hash (Identity's).

Type: string?

SecurityStamp ​

Gets or sets the security stamp: changed when what the account signs in with changes, ending its sign-ins.

Type: string?

ConcurrencyStamp ​

Gets or sets the concurrency stamp: changed with each change of the row.

Type: string?

PhoneNumber ​

Gets or sets the phone number.

Type: string?

PhoneNumberConfirmed ​

Gets or sets a value indicating whether the phone number is confirmed.

Type: bool?

TwoFactorEnabled ​

Gets or sets a value indicating whether signing in needs a second factor.

Type: bool?

LockoutEnd ​

Gets or sets when a lockout ends, or null.

Type: DateTimeOffset?

LockoutEnabled ​

Gets or sets a value indicating whether the account can be locked out.

Type: bool?

AccessFailedCount ​

Gets or sets how many sign-ins failed in a row.

Type: int?

AuthenticatorKey ​

Gets or sets the authenticator key (for authenticator apps).

Type: string?

RecoveryCodes ​

Gets or sets the recovery codes, as Identity keeps them.

Type: string?

Disabled ​

Gets or sets a value indicating whether the account is turned off: it does not sign in, nor do its keys.

Type: bool?

CreatedAt ​

Gets or sets when the account was made.

Type: DateTimeOffset?