Share via


IdentityRole<TKey,TUserRole,TRoleClaim> Constructors

Definition

Overloads

IdentityRole<TKey,TUserRole,TRoleClaim>()

Initializes a new instance of IdentityRole<TKey>.

IdentityRole<TKey,TUserRole,TRoleClaim>(String)

Initializes a new instance of IdentityRole<TKey>.

IdentityRole<TKey,TUserRole,TRoleClaim>()

Initializes a new instance of IdentityRole<TKey>.

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

Applies to

IdentityRole<TKey,TUserRole,TRoleClaim>(String)

Initializes a new instance of IdentityRole<TKey>.

public:
 IdentityRole(System::String ^ roleName);
public IdentityRole (string roleName);
new Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRole<'Key, 'UserRole, 'RoleClaim (requires 'Key :> IEquatable<'Key> and 'UserRole :> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserRole<'Key> and 'RoleClaim :> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRoleClaim<'Key>)> : string -> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRole<'Key, 'UserRole, 'RoleClaim (requires 'Key :> IEquatable<'Key> and 'UserRole :> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserRole<'Key> and 'RoleClaim :> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRoleClaim<'Key>)>
Public Sub New (roleName As String)

Parameters

roleName
String

The role name.

Applies to