IUserStore<TUser, TKey>.FindByNameAsync Method (String)
Asynchronously finds a user by name.
Namespace: Microsoft.AspNet.Identity
Assembly: Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)
Syntax
Task<TUser> FindByNameAsync(
string userName
)
Task<TUser>^ FindByNameAsync(
String^ userName
)
abstract FindByNameAsync :
userName:string -> Task<'TUser>
Function FindByNameAsync (
userName As String
) As Task(Of TUser)
Parameters
userName
Type: System.StringThe user name.
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