IdentityErrorDescriber.UserAlreadyInRole(String) Méthode

Définition

Retourne un IdentityError indiquant qu’un utilisateur est déjà dans le spécifié role.

public:
 virtual Microsoft::AspNetCore::Identity::IdentityError ^ UserAlreadyInRole(System::String ^ role);
public virtual Microsoft.AspNetCore.Identity.IdentityError UserAlreadyInRole (string role);
abstract member UserAlreadyInRole : string -> Microsoft.AspNetCore.Identity.IdentityError
override this.UserAlreadyInRole : string -> Microsoft.AspNetCore.Identity.IdentityError
Public Overridable Function UserAlreadyInRole (role As String) As IdentityError

Paramètres

role
String

Rôle en double.

Retours

IdentityError indiquant qu’un utilisateur se trouve déjà dans le spécifié role.

S’applique à