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 ,如果有的話。

適用於