語言

ActiveDirectoryRole.GetEntries 方法

定義

回傳包含所有 DirectoryEntry 與當前 ActiveDirectoryRole物件相關的通用集合。

public:
 System::Collections::Generic::ICollection<System::DirectoryServices::DirectoryEntry ^> ^ GetEntries();
public System.Collections.Generic.ICollection<System.DirectoryServices.DirectoryEntry> GetEntries();
member this.GetEntries : unit -> System.Collections.Generic.ICollection<System.DirectoryServices.DirectoryEntry>
Public Function GetEntries () As ICollection(Of DirectoryEntry)

傳回

與當前 DirectoryEntry相關聯的一般ActiveDirectoryRole集合。

備註

角色可以是一組一般的安全物件集合。 因此,一個角色可以包含多個身份,例如用來 GetEntries 回傳與該角色相關的所有目錄物件。

適用於