語言

ActiveDirectoryRole.GetSecurityIdentifiers 方法

定義

public:
 System::Collections::Generic::IList<System::Security::Principal::SecurityIdentifier ^> ^ GetSecurityIdentifiers();
public System.Collections.Generic.IList<System.Security.Principal.SecurityIdentifier> GetSecurityIdentifiers();
member this.GetSecurityIdentifiers : unit -> System.Collections.Generic.IList<System.Security.Principal.SecurityIdentifier>
Public Function GetSecurityIdentifiers () As IList(Of SecurityIdentifier)

傳回

與當前 SecurityIdentifier與 相關聯的物件的通用清單ActiveDirectoryRole。

備註

GetSecurityIdentifiers檢查方法回傳DirectoryEntry的每個GetEntries條目,以確認該條目是否在其集合中Properties包含安全識別碼。 如果 有 DirectoryEntry 這樣的屬性,則 GetSecurityIdentifiers 會在它回傳的列表中加入 a SecurityIdentifier 。

適用於