UserManager<TUser, TKey>.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>
The task representing the asynchronous operation.

See Also

Reference

UserManager<TUser, TKey> Class

FindAsync Overload

Microsoft.AspNet.Identity Namespace

Other Resources

ASP.NET Identity