Share via

IdentityUserRole<TKey> Class


Represents an EntityType user belonging to a role.

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

Inheritance Hierarchy



public class IdentityUserRole<TKey>
generic<typename TKey>
public ref class IdentityUserRole 
type IdentityUserRole<'TKey> = class end
Public Class IdentityUserRole(Of TKey)

Type Parameters

  • TKey
    The type of the key.


Name Description
System_CAPS_pubmethod IdentityUserRole<TKey>()

Initializes a new instance of the IdentityUserRole<TKey> class.


Name Description
System_CAPS_pubproperty RoleId

Gets or sets the Role ID for the role.

System_CAPS_pubproperty UserId

Gets or sets the ID for the user that is in the role.


Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod 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