Edit

Share via


ActiveDirectoryRole.GetEntries Method

Definition

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.

Applies to