IdentityUserRole Class
EntityType that represents a user belonging to a role
Namespace: Microsoft.AspNet.Identity.EntityFramework
Assembly: Microsoft.AspNet.Identity.EntityFramework (in Microsoft.AspNet.Identity.EntityFramework.dll)
Inheritance Hierarchy
System.Object
Microsoft.AspNet.Identity.EntityFramework.IdentityUserRole<TKey>
Microsoft.AspNet.Identity.EntityFramework.IdentityUserRole
Syntax
public class IdentityUserRole : IdentityUserRole<string>
public ref class IdentityUserRole : IdentityUserRole<String^>
type IdentityUserRole =
class
inherit IdentityUserRole<string>
end
Public Class IdentityUserRole
Inherits IdentityUserRole(Of String)
Constructors
Name | Description | |
---|---|---|
![]() |
IdentityUserRole() | Constructor |
Properties
Name | Description | |
---|---|---|
![]() |
RoleId | Gets or sets the Role ID for the role.(Inherited from IdentityUserRole<TKey>.) |
![]() |
UserId | Gets or sets the ID for the user that is in the role.(Inherited from IdentityUserRole<TKey>.) |
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