Dela via


DefaultUserConfirmation<TUser>.IsConfirmedAsync Method

Definition

Determines whether the specified user is confirmed.

public:
 virtual System::Threading::Tasks::Task<bool> ^ IsConfirmedAsync(Microsoft::AspNetCore::Identity::UserManager<TUser> ^ manager, TUser user);
public virtual 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>
override this.IsConfirmedAsync : Microsoft.AspNetCore.Identity.UserManager<'User (requires 'User : null)> * 'User -> System.Threading.Tasks.Task<bool>
Public Overridable 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

The Task that represents the asynchronous operation, containing the IdentityResult of the confirmation operation.

Implements

Applies to