IdentityErrorDescriber.UserAlreadyInRole(String) Método

Definición

Devuelve un IdentityError valor que indica que un usuario ya está en el especificado 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

Parámetros

role
String

Rol duplicado.

Devoluciones

IdentityError

que IdentityError indica que un usuario ya está en el especificado role.

Se aplica a