Directory Services

ADS_CLASS_DEF

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

The ADS_CLASS_DEF structure holds the definitions of an object class.

typedef struct _ADS_CLASS_DEF {
LPWSTR pszClassName;
DWORD dwMandatoryAttrs;
LPWSTR* ppszMandatoryAttrs;
DWORD optionalAttrs;
LPWSTR** ppszOptionalAttrs;
DWORD dwNamingAttrs;
LPWSTR** ppszNamingAttrs;
DWORD dwSuperClasses;
LPWSTR** ppszSuperClasses;
BOOL fIsContainer; } ADS_CLASS_DEF,
*PADS_CLASS_DEF;

Members

pszClassName
The null-terminated Unicode string that specifies the class name.
dwMandatoryAttrs
The number of mandatory class attributes.
ppszMandatoryAttrs
Pointer to an array of null-terminated Unicode strings that contain the names of the mandatory attributes.
optionalAttrs
Number of optional attributes of the class.
ppszOptionalAttrs
Pointer to an array of null-terminated Unicode strings that contain the names of the optional attributes.
dwNamingAttrs
Number of naming attributes.
ppszNamingAttrs
Pointer to an array of null-terminated Unicode strings that contain the names of the naming attributes.
dwSuperClasses
Number of super classes of an object of this class.
ppszSuperClasses
Pointer to an array of null-terminated Unicode strings that contain the names of the super classes.
fIsContainer
Flags that indicate the object of the class is a container when it is TRUE and not a container when FALSE.

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