ActiveDirectoryRole.GetIdentities 方法

定义

获取一个与 ActiveDirectoryRole 相关联的 Windows NT 帐户泛型列表。Gets a generic list of the Windows NT accounts associated with the ActiveDirectoryRole.

public:
 override System::Collections::Generic::IList<System::String ^> ^ GetIdentities();
public override System.Collections.Generic.IList<string> GetIdentities ();
override this.GetIdentities : unit -> System.Collections.Generic.IList<string>
Public Overrides Function GetIdentities () As IList(Of String)

返回

IList<String>

一个值的泛型列表,这些值表示与 ActiveDirectoryRole 关联的 Windows NT 帐户。A generic list of values that represent the Windows NT accounts associated with the ActiveDirectoryRole.

注解

GetIdentities 获取所有与 SecurityIdentifier 相关联的 ActiveDirectoryRole 对象,并将每个对象都转换成一个字符串值。GetIdentities obtains all SecurityIdentifier objects associated with the ActiveDirectoryRole and converts each of them into a string value.

适用于