ActiveDirectoryRole.GetEntries Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the generic collection that contains all DirectoryEntry objects associated with the current 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)
Returns
The generic DirectoryEntry collection that is associated with the current ActiveDirectoryRole.
Remarks
A role can be a general collection of security objects. As such, a role can contain multiple identities, for example use GetEntries to return all directory objects associated with the role.