Share via


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 from a new GUID string value.

Applies to

IdentityRole(String)

Initializes a new instance of IdentityRole.

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

Parameters

roleName
String

The role name.

Remarks

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

Applies to