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;

Values

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

Client: Included in Windows XP and Windows 2000 Professional.
Server: Included in Windows Server 2003 and Windows 2000 Server.
Redistributable: Requires Active Directory Client Extension on Windows NT 4.0 SP6a and Windows 95/98/Me.
Header: Declared in Iads.h.

See Also

ADSI Enumerations, IADsPathname::SetDisplayType