IUserConfirmation<TUser>.IsConfirmedAsync 方法

定义

确定是否确认指定的 user

public:
 System::Threading::Tasks::Task<bool> ^ IsConfirmedAsync(Microsoft::AspNetCore::Identity::UserManager<TUser> ^ manager, TUser user);
public System.Threading.Tasks.Task<bool> IsConfirmedAsync (Microsoft.AspNetCore.Identity.UserManager<TUser> manager, TUser user);
abstract member IsConfirmedAsync : Microsoft.AspNetCore.Identity.UserManager<'User (requires 'User : null)> * 'User -> System.Threading.Tasks.Task<bool>
Public Function IsConfirmedAsync (manager As UserManager(Of TUser), user As TUser) As Task(Of Boolean)

参数

manager
UserManager<TUser>

UserManager<TUser>可用于检索用户属性的 。

user
TUser

用户。

返回

是否确认用户。

适用于