IdentityRole<TKey, TUserRole> Class

 

Represents a role entity

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

System.Object
  Microsoft.AspNet.Identity.EntityFramework.IdentityRole<TKey, TUserRole>
    Microsoft.AspNet.Identity.EntityFramework.IdentityRole

public class IdentityRole<TKey, TUserRole> : IRole<TKey>
where TUserRole : IdentityUserRole<TKey>

Type Parameters

TKey

The type of the key.

TUserRole

The type of the user role.

NameDescription
System_CAPS_pubmethodIdentityRole<TKey, TUserRole>()

Initializes a new instance of the IdentityRole<TKey, TUserRole> class.

NameDescription
System_CAPS_pubpropertyId

Gets or sets the role id.

System_CAPS_pubpropertyName

Gets or sets the role name.

System_CAPS_pubpropertyUsers

Gets the collection of users in the role.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: