Settings.ActiveDirectorySearchLocation property

[The ActiveDirectorySearchLocation property is available for use in the operating systems specified in the Requirements section.]

The ActiveDirectorySearchLocation property sets or retrieves the Active Directory search location.

Syntax

Settings.ActiveDirectorySearchLocation As CAPICOM_ACTIVE_DIRECTORY_SEARCH_LOCATION

Property value

A value of the CAPICOM_ACTIVE_DIRECTORY_SEARCH_LOCATION enumeration that specifies the search location. The default value is CAPICOM_SEARCH_ANY. The following table shows the possible values.

Value Meaning
CAPICOM_SEARCH_ANY
Search all available locations.
CAPICOM_SEARCH_DEFAULT_DOMAIN
Search only the default domain.
CAPICOM_SEARCH_GLOBAL_CATALOG
Search only the global catalog.

 

Requirements

Requirement Value
Redistributable
CAPICOM 2.0 or later on Windows Server 2003 and Windows XP
DLL
Capicom.dll

See also

Settings