Share via


IUserStore<TUser, TKey>.FindByNameAsync Method

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
)

Parameters

Return Value

Type: System.Threading.Tasks.Task<TUser>
The task object representing the asynchronous operation.

See Also

Reference

IUserStore<TUser, TKey> Interface

Microsoft.AspNet.Identity Namespace

Other Resources

ASP.NET Identity