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


DirectoryEntry GetGroupsContainer()

Return value

The directory entry of the zone’s Groups container.


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.


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