IdentityErrorDescriber.UserAlreadyInRole(String) Metoda

Definice

IdentityError Vrátí indikující, že uživatel je již v zadaném stavu 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

Parametry

role
String

Duplicitní role.

Návraty

IdentityError

Indikující IdentityError , že uživatel je již v zadaném souboru role.

Platí pro