IdentityUser Class¶
The default implementation of Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUser`1
which uses a string as a primary key.
- Namespace
Microsoft.AspNetCore.Identity.EntityFrameworkCore
- Assemblies
- Microsoft.AspNetCore.Identity.EntityFrameworkCore
Inheritance Hierarchy¶
System.Object
Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUser{System.String,Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserClaim{System.String},Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserRole{System.String},Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserLogin{System.String}}
Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUser{System.String}
Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUser
Syntax¶
public class IdentityUser : IdentityUser<string>
-
class
Microsoft.AspNetCore.Identity.EntityFrameworkCore.
IdentityUser
Constructors¶
-
IdentityUser
()¶ Initializes a new instance of
Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUser
.public IdentityUser()
-
IdentityUser
(System.String) Initializes a new instance of
Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUser
.Arguments: userName (System.String) – The user name. public IdentityUser(string userName)
-