Platform SDK: Active Directory, ADSI, and Directory Services

ADS_OPTION_ENUM

The ADS_OPTION_ENUM enumeration specifies the available options that the IADsObjectOptions interface gets or sets for manipulating directory objects.

typedef enum {
  ADS_OPTION_SERVERNAME         = 0,
  ADS_OPTION_REFERRALS          = 1,
  ADS_OPTION_PAGE_SIZE          = 2,
  ADS_OPTION_SECURITY_MASK      = 3,
  ADS_OPTION_MUTUAL_AUTH_STATUS = 4
  } ADS_OPTION_ENUM;

Elements

ADS_OPTION_SERVERNAME
Specifies that the host names of servers are to be set or obtained in a query.
ADS_OPTION_REFERRALS
Specifies that referral chasing is to be performed in a query.
ADS_OPTION_PAGE_SIZE
Specifies that page sizes are to be set or obtained in a paged search.
ADS_OPTION_SECURITY_MASK
Specifies that security information, including the system access-control list (ACL), of an object is to be examined. This element takes any combination of the bit-masks as defined in the ADS_SECURITY_INFO_ENUM enumeration.
ADS_OPTION_MUTUAL_AUTH_STATUS
Uses mutual authentication.

Remarks

The IADsObjectOption uses the ADS_OPTION_MUTUAL_AUTH_STATUS flag to determine if mutual authentication is performed by the SSPI layer. For more information on mutual authentication, see SSPI.

Note  Because VBScript cannot read information from a type library, VBScript applications do not understand the symbolic constants as defined above. You should use the numerical constants instead to set the appropriate flags in your VBScript applications. If you want to use the symbolic constants as a good programming practice, you should make explicit declarations of such constants, as done here, in your VBScript applications.

Requirements

  Windows NT/2000: Requires Windows 2000 (or Windows NT 4.0 with DSClient).
  Windows 95/98: Requires Windows 95 or later (with DSClient).
  Header: Declared in Iads.h.

See Also

ADSI Enumerations, IADsObjectOptions, ADS_SECURITY_INFO_ENUM