Language

UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim>.GetLoginsAsync Method (TUser)

 

Asynchronously gets the logins for a user.

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

Syntax

public virtual Task<IList<UserLoginInfo>> GetLoginsAsync(
    TUser user
)
public:
virtual Task<IList<UserLoginInfo^>^>^ GetLoginsAsync(
    TUser user
)
abstract GetLoginsAsync :
        user:'TUser -> Task<IList<UserLoginInfo>>
override GetLoginsAsync :
        user:'TUser -> Task<IList<UserLoginInfo>>
Public Overridable Function GetLoginsAsync (
    user As TUser
) As Task(Of IList(Of UserLoginInfo))

Parameters

  • user Type: TUser

    The user.

Return Value

Type: System.Threading.Tasks.Task<IList<UserLoginInfo>>

The task representing the asynchronous operation.

Implements

IUserLoginStore<TUser, TKey>.GetLoginsAsync(TUser)

See Also

UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim> Class Microsoft.AspNet.Identity.EntityFramework Namespace [ASP.NET Identity](https://go.microsoft.com/fwlink/p/?linkid=393664.

Return to top