IdentityRole Constructors

Definition

Overloads

IdentityRole()

Initializes a new instance of IdentityRole.

IdentityRole(String)

Initializes a new instance of IdentityRole.

IdentityRole()

Initializes a new instance of IdentityRole.

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

Remarks

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

IdentityRole(String)

Initializes a new instance of IdentityRole.

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

Parameters

roleName
String

The role name.

Remarks

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

Applies to