UserManager<TUser>.RemovePasswordAsync Metodo

Definizione

Overload

RemovePasswordAsync(TUser)

Rimuove la password di un utente.

RemovePasswordAsync(TUser, CancellationToken)

Rimuove la password di un utente.

RemovePasswordAsync(TUser)

Rimuove la password di un utente.

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)

Parametri

user
TUser

Utente la cui password deve essere rimossa.

Restituisce

Oggetto Task che rappresenta l'operazione asincrona contenente l'oggetto IdentityResult dell'operazione.

Si applica a

RemovePasswordAsync(TUser, CancellationToken)

Rimuove la password di un utente.

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)

Parametri

user
TUser

Utente la cui password deve essere rimossa.

cancellationToken
CancellationToken

Oggetto CancellationToken usato per propagare le notifiche di richiesta di annullamento dell'operazione.

Restituisce

Oggetto Task che rappresenta l'operazione asincrona contenente l'oggetto IdentityResult dell'operazione.

Si applica a