Share via


UserManager<TUser>.FindAsync Method (UserLoginInfo)

Returns the user associated with this login

Namespace:  Microsoft.AspNet.Identity
Assembly:  Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)

Syntax

'Declaration
Public Overridable Function FindAsync ( _
    login As UserLoginInfo _
) As Task(Of TUser)
'Usage
Dim instance As UserManager 
Dim login As UserLoginInfo 
Dim returnValue As Task(Of TUser)

returnValue = instance.FindAsync(login)
public virtual Task<TUser> FindAsync(
    UserLoginInfo login
)
public:
virtual Task<TUser>^ FindAsync(
    UserLoginInfo^ login
)
abstract FindAsync : 
        login:UserLoginInfo -> Task<'TUser> 
override FindAsync : 
        login:UserLoginInfo -> Task<'TUser> 
public function FindAsync(
    login : UserLoginInfo
) : Task<TUser>

Parameters

Return Value

Type: System.Threading.Tasks.Task<TUser>

See Also

Reference

UserManager<TUser> Class

FindAsync Overload

Microsoft.AspNet.Identity Namespace