ActiveDirectoryRole.IncludesIdentity(String) メソッド

定義

ActiveDirectoryRoleに指定した ID が含まれているかどうかを示す値を返します。

public:
 override bool IncludesIdentity(System::String ^ identity);
public override bool IncludesIdentity(string identity);
override this.IncludesIdentity : string -> bool
Public Overrides Function IncludesIdentity (identity As String) As Boolean

パラメーター

identity
String

検索する ID。

返品

true identityActiveDirectoryRoleに含まれていることを示す場合は。それ以外の場合はfalse

注釈

ロールは 1 つ以上のオブジェクトの一般化であるため、多くの ID は 1 つのロールで記述できます。 IncludesIdentityを使用して、指定した ID がこのロールに含まれていることをテストします。

適用対象