Enum DirectoryScope
Scopes for DirectoryObjectDialog and DirectoryObjectSelection.
public enum DirectoryScope
  Fields
Computer = 1Computer (local users and groups can be selected).
Domain = 3The domain a computer is joined to (all kinds of principals can be selected).
Enterprise = 4The entire enterprise a computer is in (all kinds of principals can be selected).
Unknown = 0Unknown.
Workgroup = 2Workgroup (only computers can be selected).