ADS_ATTR_DEF structure (iads.h)

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.

Syntax

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

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Header iads.h

See also

ADSI Structures

ADSTYPEENUM