IUserStore<TUser, TKey>.FindByIdAsync Method (TKey)
Asynchronously finds a user using the specified identifier.
Namespace: Microsoft.AspNet.Identity
Assembly: Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)
Syntax
Task<TUser> FindByIdAsync(
TKey userId
)
Task<TUser>^ FindByIdAsync(
TKey userId
)
abstract FindByIdAsync :
userId:'TKey -> Task<'TUser>
Function FindByIdAsync (
userId As TKey
) As Task(Of TUser)
Parameters
userId
Type: TKeyThe user identifier.
Return Value
Type: System.Threading.Tasks.Task<TUser>
The task object representing the asynchronous operation.
See Also
IUserStore<TUser, TKey> Interface
Microsoft.AspNet.Identity Namespace
ASP.NET Identity
Return to top