UserManager<TUser>.RemovePasswordAsync メソッド

定義

オーバーロード

RemovePasswordAsync(TUser)

ユーザーのパスワードを削除します。

RemovePasswordAsync(TUser, CancellationToken)

ユーザーのパスワードを削除します。

RemovePasswordAsync(TUser)

ユーザーのパスワードを削除します。

public:
 virtual System::Threading::Tasks::Task<Microsoft::AspNetCore::Identity::IdentityResult ^> ^ RemovePasswordAsync(TUser user);
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.IdentityResult> RemovePasswordAsync (TUser user);
abstract member RemovePasswordAsync : 'User -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.IdentityResult>
override this.RemovePasswordAsync : 'User -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.IdentityResult>
Public Overridable Function RemovePasswordAsync (user As TUser) As Task(Of IdentityResult)

パラメーター

user
TUser

パスワードを削除する必要があるユーザー。

戻り値

Task操作の を含む非同期操作をIdentityResult表す 。

適用対象

RemovePasswordAsync(TUser, CancellationToken)

ユーザーのパスワードを削除します。

public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.IdentityResult> RemovePasswordAsync (TUser user, System.Threading.CancellationToken cancellationToken = default);
abstract member RemovePasswordAsync : 'User * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.IdentityResult>
override this.RemovePasswordAsync : 'User * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.IdentityResult>
Public Overridable Function RemovePasswordAsync (user As TUser, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IdentityResult)

パラメーター

user
TUser

パスワードを削除する必要があるユーザー。

cancellationToken
CancellationToken

この操作を取り消す必要があることを示す通知を伝達するために使用する CancellationToken

戻り値

Task操作の を含む非同期操作をIdentityResult表す 。

適用対象