Dela via


UserManager<TUser>.IsPhoneNumberConfirmedAsync(TUser) Method

Definition

Gets a flag indicating whether the specified user's telephone number has been confirmed.

public:
 virtual System::Threading::Tasks::Task<bool> ^ IsPhoneNumberConfirmedAsync(TUser user);
public virtual System.Threading.Tasks.Task<bool> IsPhoneNumberConfirmedAsync (TUser user);
abstract member IsPhoneNumberConfirmedAsync : 'User -> System.Threading.Tasks.Task<bool>
override this.IsPhoneNumberConfirmedAsync : 'User -> System.Threading.Tasks.Task<bool>
Public Overridable Function IsPhoneNumberConfirmedAsync (user As TUser) As Task(Of Boolean)

Parameters

user
TUser

The user to return a flag for, indicating whether their telephone number is confirmed.

Returns

The Task that represents the asynchronous operation, returning true if the specified user has a confirmed telephone number otherwise false.

Applies to