Platform SDK: Active Directory, ADSI, and Directory Services

ADS_ATTR_DEF

The ADS_ATTR_DEF structure describes schema information 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
Pointer to a 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

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