Share via


IRoleStore<TRole> Interface

Interface that exposes basic role management

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

Syntax

'Declaration
Public Interface IRoleStore(Of TRole As IRole) _
    Inherits IDisposable
'Usage
Dim instance As IRoleStore(Of TRole)
public interface IRoleStore<TRole> : IDisposable 
where TRole : IRole
generic<typename TRole>
where TRole : IRole 
public interface class IRoleStore : IDisposable
type IRoleStore<'TRole when 'TRole : IRole> =  
    interface 
        interface IDisposable 
    end
JScript does not support generic types and methods.

Type Parameters

  • TRole

The IRoleStore<TRole> type exposes the following members.

Methods

  Name Description
Public method CreateAsync Insert a new role
Public method DeleteAsync Delete a role
Public method Dispose (Inherited from IDisposable.)
Public method FindByIdAsync Finds a role by id
Public method FindByNameAsync Find a role by name
Public method UpdateAsync Update a role

Top

See Also

Reference

Microsoft.AspNet.Identity Namespace