Share via


RoleManager<TRole, TKey> Methods

 

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

Methods

Name Description
System_CAPS_pubmethod CreateAsync(TRole)

Asynchronously creates a role.

System_CAPS_pubmethod DeleteAsync(TRole)

Asynchronously deletes a role.

System_CAPS_pubmethod Dispose()

Releases the resources used by the current instance of the RoleManager<TRole, TKey> class.

System_CAPS_protmethod Dispose(Boolean)

Called by the Dispose() and Finalize() methods to release the managed and unmanaged resources used by the current instance of the RoleManager<TRole, TKey> class.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod FindByIdAsync(TKey)

Asynchronously finds a role using the specified identifier.

System_CAPS_pubmethod FindByNameAsync(String)

Asynchronously finds a role by name.

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod RoleExistsAsync(String)

Indicates a value whether the role exists.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod UpdateAsync(TRole)

Asynchronously updates an existing role.

See Also

RoleManager<TRole, TKey> Class
Microsoft.AspNet.Identity Namespace

Return to top