IRoleStore<TRole, TKey> Interface

 

Defines the methods for role management.

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

public interface IRoleStore<TRole, in TKey> : IDisposable
where TRole : object, IRole<TKey>

Type Parameters

TRole

The type of the role.

inTKey

The type of the key.

NameDescription
System_CAPS_pubmethodCreateAsync(TRole)

Asynchronously creates a new role.

System_CAPS_pubmethodDeleteAsync(TRole)

Asynchronously deletes a role.

System_CAPS_pubmethodDispose()

(Inherited from IDisposable.)

System_CAPS_pubmethodFindByIdAsync(TKey)

Asynchronously finds a role by ID.

System_CAPS_pubmethodFindByNameAsync(String)

Asynchronously finds a role by name.

System_CAPS_pubmethodUpdateAsync(TRole)

Asynchronously updates a role.

Return to top
Show: