IdentityErrorDescriber.UserNotInRole(String) Metoda

Definice

IdentityError Vrátí indikující, že uživatel není v zadaném stavu role.

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

Parametry

role
String

Duplicitní role.

Návraty

IdentityError

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

Platí pro