GetGroupsContainer

Returns the directory entry for the parent container object for the group profiles in the zone.

Syntax

DirectoryEntry GetGroupsContainer()

Return value

The directory entry of the zone’s Groups container.

Discussion

If the Groups container does not exist, this method creates one for you.

This method can only be used in .NET programs because DirectoryEntry is a .NET-specific class for directory objects. This method cannot be used in COM-based programs.

Exceptions

GetGroupsContainer throws an ApplicationException if you try to use this method in a COM-based program.