Delen via


IUserConfirmation<TUser>.IsConfirmedAsync Method

Definition

Determines whether the specified user is confirmed.

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)

Parameters

manager
UserManager<TUser>

The UserManager<TUser> that can be used to retrieve user properties.

user
TUser

The user.

Returns

Whether the user is confirmed.

Applies to