IUserStore<TUser>.FindByIdAsync Method
Finds a user
Namespace: Microsoft.AspNet.Identity
Assembly: Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)
Syntax
'Declaration
Function FindByIdAsync ( _
userId As String _
) As Task(Of TUser)
'Usage
Dim instance As IUserStore
Dim userId As String
Dim returnValue As Task(Of TUser)
returnValue = instance.FindByIdAsync(userId)
Task<TUser> FindByIdAsync(
string userId
)
Task<TUser>^ FindByIdAsync(
String^ userId
)
abstract FindByIdAsync :
userId:string -> Task<'TUser>
function FindByIdAsync(
userId : String
) : Task<TUser>
Parameters
- userId
Type: System.String
Return Value
Type: System.Threading.Tasks.Task<TUser>