Delen via


IdentityUser Constructors

Definition

Overloads

IdentityUser()

Initializes a new instance of IdentityUser.

IdentityUser(String)

Initializes a new instance of IdentityUser.

IdentityUser()

Initializes a new instance of IdentityUser.

public:
 IdentityUser();
public IdentityUser ();
Public Sub New ()

Remarks

The Id property is initialized to from a new GUID string value.

Applies to

IdentityUser(String)

Initializes a new instance of IdentityUser.

public:
 IdentityUser(System::String ^ userName);
public IdentityUser (string userName);
new Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUser : string -> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUser
Public Sub New (userName As String)

Parameters

userName
String

The user name.

Remarks

The Id property is initialized to from a new GUID string value.

Applies to