IdentityRole Class
Represents a Role entity.
Namespace: Microsoft.AspNet.Identity.EntityFramework
Assembly: Microsoft.AspNet.Identity.EntityFramework (in Microsoft.AspNet.Identity.EntityFramework.dll)
Inheritance Hierarchy
System.Object
Microsoft.AspNet.Identity.EntityFramework.IdentityRole<TKey, TUserRole>
Microsoft.AspNet.Identity.EntityFramework.IdentityRole
Syntax
public class IdentityRole : IdentityRole<string, IdentityUserRole>
public ref class IdentityRole : IdentityRole<String^, IdentityUserRole^>
type IdentityRole =
class
inherit IdentityRole<string, IdentityUserRole>
end
Public Class IdentityRole
Inherits IdentityRole(Of String, IdentityUserRole)
Constructors
Name | Description | |
---|---|---|
IdentityRole() | Initializes a new instance of the IdentityRole class. |
|
IdentityRole(String) | Initializes a new instance of the IdentityRole class. |
Properties
Name | Description | |
---|---|---|
Id | Gets or sets the role id.(Inherited from IdentityRole<TKey, TUserRole>.) |
|
Name | Gets or sets the role name.(Inherited from IdentityRole<TKey, TUserRole>.) |
|
Users | Gets the collection of users in the role.(Inherited from IdentityRole<TKey, TUserRole>.) |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.AspNet.Identity.EntityFramework Namespace
ASP.NET Identity
Return to top