Share via


IdentityErrorDescriber.UserAlreadyInRole(String) メソッド

定義

ユーザーが IdentityError 指定した に既に存在することを示す を返します 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

パラメーター

role
String

重複するロール。

戻り値

IdentityError指定した roleにユーザーが既に存在することを示す 。

適用対象