IdentityErrorDescriber.UserNotInRole(String) Metoda

Definicja

Zwraca wartość wskazującą IdentityError , że użytkownik nie znajduje się w określonym roleobiekcie .

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

Zduplikowana rola.

Zwraca

Element wskazujący IdentityError , że użytkownik nie znajduje się w określonym roleobiekcie .

Dotyczy