Share via


IdentityRole Class

Definition

The default implementation of IdentityRole<TKey> which uses a string as the primary key.

public ref class IdentityRole : Microsoft::AspNetCore::Identity::EntityFrameworkCore::IdentityRole<System::String ^>
public class IdentityRole : Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRole<string>
type IdentityRole = class
    inherit IdentityRole<string>
Public Class IdentityRole
Inherits IdentityRole(Of String)
Inheritance

Constructors

IdentityRole()

Initializes a new instance of IdentityRole.

IdentityRole(String)

Initializes a new instance of IdentityRole.

Properties

Claims

Navigation property for claims in this role.

(Inherited from IdentityRole<TKey,TUserRole,TRoleClaim>)
ConcurrencyStamp

A random value that should change whenever a role is persisted to the store

(Inherited from IdentityRole<TKey,TUserRole,TRoleClaim>)
Id

Gets or sets the primary key for this role.

(Inherited from IdentityRole<TKey,TUserRole,TRoleClaim>)
Name

Gets or sets the name for this role.

(Inherited from IdentityRole<TKey,TUserRole,TRoleClaim>)
NormalizedName

Gets or sets the normalized name for this role.

(Inherited from IdentityRole<TKey,TUserRole,TRoleClaim>)
Users

Navigation property for the users in this role.

(Inherited from IdentityRole<TKey,TUserRole,TRoleClaim>)

Methods

ToString()

Returns the name of the role.

(Inherited from IdentityRole<TKey,TUserRole,TRoleClaim>)

Applies to