IdentityErrorDescriber.UserAlreadyInRole(String) Metoda

Definicja

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

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

Zduplikowana rola.

Zwraca

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

Dotyczy