Share via


UserManager<TUser>.GetLoginsAsync(TUser) Method

Definition

Retrieves the associated logins for the specified .

public:
 virtual System::Threading::Tasks::Task<System::Collections::Generic::IList<Microsoft::AspNetCore::Identity::UserLoginInfo ^> ^> ^ GetLoginsAsync(TUser user);
public virtual System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.AspNetCore.Identity.UserLoginInfo>> GetLoginsAsync (TUser user);
abstract member GetLoginsAsync : 'User -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.AspNetCore.Identity.UserLoginInfo>>
override this.GetLoginsAsync : 'User -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.AspNetCore.Identity.UserLoginInfo>>
Public Overridable Function GetLoginsAsync (user As TUser) As Task(Of IList(Of UserLoginInfo))

Parameters

user
TUser

The user whose associated logins to retrieve.

Returns

The Task for the asynchronous operation, containing a list of UserLoginInfo for the specified user, if any.

Applies to