UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>.SetNormalizedUserNameAsync Metodo

Definizione

Imposta il nome normalizzato specificato per l'oggetto specificato user.

public virtual System.Threading.Tasks.Task SetNormalizedUserNameAsync (TUser user, string normalizedName, System.Threading.CancellationToken cancellationToken = default);
public virtual System.Threading.Tasks.Task SetNormalizedUserNameAsync (TUser user, string? normalizedName, System.Threading.CancellationToken cancellationToken = default);
abstract member SetNormalizedUserNameAsync : 'User * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.SetNormalizedUserNameAsync : 'User * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function SetNormalizedUserNameAsync (user As TUser, normalizedName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parametri

user
TUser

L'utente il cui nome deve essere impostato.

normalizedName
String

Nome normalizzato da impostare.

cancellationToken
CancellationToken

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

Restituisce

Oggetto Task che rappresenta l'operazione asincrona.

Implementazioni

Si applica a