Share via


IdentityUserRole Class

EntityType that represents a user belonging to a role

Inheritance Hierarchy

System.Object
  Microsoft.AspNet.Identity.EntityFramework.IdentityUserRole

Namespace:  Microsoft.AspNet.Identity.EntityFramework
Assembly:  Microsoft.AspNet.Identity.EntityFramework (in Microsoft.AspNet.Identity.EntityFramework.dll)

Syntax

'Declaration
Public Class IdentityUserRole
'Usage
Dim instance As IdentityUserRole
public class IdentityUserRole
public ref class IdentityUserRole
type IdentityUserRole =  class end
public class IdentityUserRole

The IdentityUserRole type exposes the following members.

Constructors

  Name Description
Public method IdentityUserRole Constructor

Top

Properties

  Name Description
Public property Role Role that the user belongs to
Public property RoleId RoleId for the role
Public property User Navigation property setting up the foreign key for User
Public property UserId UserId for the user that is in the role

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

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

Reference

Microsoft.AspNet.Identity.EntityFramework Namespace