UserManager<TUser>.GetLoginsAsync(TUser) 方法

定义

检索指定 的关联登录名。

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))

参数

user
TUser

要检索其关联登录名的用户。

返回

异步操作的 ,Task包含指定 user的 的列表UserLoginInfo(如果有)。

适用于