Directory Services

ADS_ATTR_DEF

The ADS_ATTR_DEF structure is used only as a part of IDirectorySchemaMgmt, which is an obsolete interface. The following information is provided for legacy purposes only.

The ADS_ATTR_DEF structure describes schema data for an attribute. It is used to manage attribute definitions in the schema.

typedef struct _ADS_ATTR_DEF {
LPWSTR pszAttrName;
ADSTYPE dwADsType;
DWORD dwMinRange;
DWORD dwMaxRange;
BOOL fMultiValued; } ADS_ATTR_DEF,
*PADS_ATTR_DEF;

Members

pszAttrName
The null-terminated Unicode string that contains the name of the attribute.
dwADsType
Data type of the attribute as defined by ADSTYPEENUM.
dwMinRange
Minimum legal range for this attribute.
dwMaxRange
Maximum legal range for this attribute.
fMultiValued
Whether or not this attribute takes more than one value.

Remarks

In ADSI, attributes and properties are used interchangeably.

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 Structures, ADSTYPEENUM