Returns the directory entry for the parent container object for the local user profiles in the zone.
The directory entry of the zone’s users container.
If the Users 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.
GetUsersContainer may throw the following exception:
- ApplicationException if you try to use this method in a COM-based program.