Platform SDK: Active Directory, ADSI, and Directory Services |
The scope of a query is determined by the object to which you bind. If you wish to query across all objects within an enterprise, bind to the global catalog service. Alternatively, you can bind to a specific domain to scope the search to a narrower range.
To identify whether a machine is running the global catalog service