IdentityErrorDescriber.UserAlreadyInRole(String) Yöntem

Tanım

Kullanıcının zaten belirtilen roleiçinde olduğunu belirten bir IdentityError döndürür.

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

Parametreler

role
String

Yinelenen rol.

Döndürülenler

Kullanıcının IdentityError zaten belirtilen roleiçinde olduğunu belirten bir .

Şunlara uygulanır