ActiveDirectoryRole.GetSecurityIdentifiers 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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 。