ActiveDirectoryRole.IncludesIdentity(String) 方法

定义

返回一个值,该值指示 ActiveDirectoryRole 是否包含指定的标识。

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

要搜索的标识。

返回

如果指示 包含在中 ,则为

注解

由于角色是一个或多个对象的通用化,因此单个角色可能会描述许多标识。 用于 IncludesIdentity 测试指定标识是否包含在此角色中。

适用于