Platform SDK: Active Directory, ADSI, and Directory Services

ADS_DISPLAY_ENUM

The ADS_DISPLAY_ENUM enumeration specifies how a path name is to be displayed.

typedef enum { 
  ADS_DISPLAY_FULL       = 1,
  ADS_DISPLAY_VALUE_ONLY = 2
  } ADS_DISPLAY_ENUM;

Elements

ADS_DISPLAY_FULL
The path name is displayed with both attributes and values. For example, CN=John Doe.
ADS_DISPLAY_VALUE_ONLY
The path name is displayed with values only. For example, John Doe.

Remarks

This enumeration is used in IADsPathname::SetDisplayType method to specify how a path name is to be displayed.

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, IADsPathname::SetDisplayType