Share via


IdentityErrorDescriber.UserNotInRole(String) メソッド

定義

指定した に IdentityError ユーザーが含まれていないかどうかを示す を返します role

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

パラメーター

role
String

重複するロール。

戻り値

IdentityErrorユーザーが指定した roleにないことを示す 。

適用対象