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