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 ();

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

Produkt Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1