IdentityRole<TKey> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a role in the identity system
generic <typename TKey>
where TKey : IEquatable<TKey>public ref class IdentityRole : Microsoft::AspNetCore::Identity::EntityFrameworkCore::IdentityRole<TKey, Microsoft::AspNetCore::Identity::EntityFrameworkCore::IdentityUserRole<TKey> ^, Microsoft::AspNetCore::Identity::EntityFrameworkCore::IdentityRoleClaim<TKey> ^>
public class IdentityRole<TKey> : Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRole<TKey,Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserRole<TKey>,Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityRoleClaim<TKey>> where TKey : IEquatable<TKey>
type IdentityRole<'Key (requires 'Key :> IEquatable<'Key>)> = class
inherit IdentityRole<'Key, IdentityUserRole<'Key>, IdentityRoleClaim<'Key> (requires 'Key :> IEquatable<'Key>)>
Public Class IdentityRole(Of TKey)
Inherits IdentityRole(Of TKey, IdentityUserRole(Of TKey), IdentityRoleClaim(Of TKey))
Type Parameters
- TKey
The type used for the primary key for the role.
- Inheritance
- Derived
Constructors
IdentityRole<TKey>() |
Initializes a new instance of IdentityRole<TKey>. |
IdentityRole<TKey>(String) |
Initializes a new instance of IdentityRole<TKey>. |
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>) |