UserManager<TUser>.GetLoginsAsync(TUser) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检索指定 的关联登录名。
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(如果有)。