Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Asynchronously finds a role by ID.
Namespace: Microsoft.AspNet.Identity Assembly: Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)
Syntax
Task<TRole> FindByIdAsync(
TKey roleId
)
Task<TRole>^ FindByIdAsync(
TKey roleId
)
abstract FindByIdAsync :
roleId:'TKey -> Task<'TRole>
Function FindByIdAsync (
roleId As TKey
) As Task(Of TRole)
Parameters
roleId Type: TKey
The role ID.
Return Value
Type: System.Threading.Tasks.Task<TRole>
The task representing the asynchronous operation.
See Also
IRoleStore<TRole, TKey> Interface Microsoft.AspNet.Identity Namespace [ASP.NET Identity](https://go.microsoft.com/fwlink/p/?linkid=393664.
Return to top