IRoleStore<TRole> 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> : IRoleStore<TRole, string>, 
	IDisposable
where TRole : object, IRole<string>

Type Parameters

TRole

The type of the role.

NameDescription
System_CAPS_pubmethodCreateAsync(TRole)

Asynchronously creates a new role.(Inherited from IRoleStore<TRole, TKey>.)

System_CAPS_pubmethodDeleteAsync(TRole)

Asynchronously deletes a role.(Inherited from IRoleStore<TRole, TKey>.)

System_CAPS_pubmethodDispose()

(Inherited from IDisposable.)

System_CAPS_pubmethodFindByIdAsync(TKey)

Asynchronously finds a role by ID.(Inherited from IRoleStore<TRole, TKey>.)

System_CAPS_pubmethodFindByNameAsync(String)

Asynchronously finds a role by name.(Inherited from IRoleStore<TRole, TKey>.)

System_CAPS_pubmethodUpdateAsync(TRole)

Asynchronously updates a role.(Inherited from IRoleStore<TRole, TKey>.)

Return to top
Show: