Class IdentityRole<TKey>
Represents a role in the identity system
public class IdentityRole<TKey> : IdentityRole<TKey, IdentityUserRole<TKey>, IdentityRoleClaim<TKey>>, IIdentityRole<TKey>, IConcurrency<TKey> where TKey : IEquatable<TKey>
Type Parameters
TKey
The type used for the primary key for the role.
- Inheritance
-
IdentityRole<TKey>
- Implements
-
IIdentityRole<TKey>IConcurrency<TKey>
- Derived
- Inherited Members
Constructors
IdentityRole()
Initializes a new instance of IdentityRole<TKey>.
public IdentityRole()
IdentityRole(string)
Initializes a new instance of IdentityRole<TKey>.
public IdentityRole(string roleName)
Parameters
roleName
stringThe role name.