GetLocalGroupsContainer

Returns the directory entry for the parent container object for the local group profiles.

Syntax

DirectoryEntry GetLocalGroupsContainer()

Return value

The directory entry of the local group’s container.

Discussion

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

GetLocalGroupsContainer may throw the following exception:

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