Share via


IdentityRole Constructors

Definition

Overloads

IdentityRole()

Initializes a new instance of IdentityRole.

IdentityRole(String)

Initializes a new instance of IdentityRole.

IdentityRole()

Source:
IdentityRole.cs
Source:
IdentityRole.cs
Source:
IdentityRole.cs
Source:
IdentityRole.cs
Source:
IdentityRole.cs
Source:
IdentityRole.cs
Source:
IdentityRole.cs
Source:
IdentityRole.cs
Source:
IdentityRole.cs

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.

Applies to

IdentityRole(String)

Source:
IdentityRole.cs
Source:
IdentityRole.cs
Source:
IdentityRole.cs
Source:
IdentityRole.cs
Source:
IdentityRole.cs
Source:
IdentityRole.cs
Source:
IdentityRole.cs
Source:
IdentityRole.cs
Source:
IdentityRole.cs

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