Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Asynchronously finds a user by name.
Namespace: Microsoft.AspNet.Identity
Assembly: Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)
'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>
- userName
Type: System.String
The user name.
Type: System.Threading.Tasks.Task<TUser>
The task object representing the asynchronous operation.
IUserStore<TUser, TKey> Interface