Share via


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
System_CAPS_pubmethod IdentityUserRole()

Constructor

Properties

Name Description
System_CAPS_pubproperty RoleId

Gets or sets the Role ID for the role.(Inherited from IdentityUserRole<TKey>.)

System_CAPS_pubproperty UserId

Gets or sets the ID for the user that is in the role.(Inherited from IdentityUserRole<TKey>.)

Methods

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