Platform SDK: Active Directory, ADSI, and Directory Services

ADS_CLASS_DEF

The ADS_CLASS_DEF structure holds the definitions of an object class.

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

Members

pszClassName
Name of the class.
dwMandatoryAttrs
Number of mandatory attributes of the class.
ppszMandatoryAttrs
Names of the mandatory attributes.
optionalAttrs
Number of optional attributes of the class.
ppszOptionalAttrs
Names of the optional attributes.
dwNamingAttrs
Number of naming attributes.
ppszNamingAttrs
Naming attributes.
dwSuperClasses
Number of super classes of an object of this class.
ppszSuperClasses
Names of the super classes.
fIsContainer
Flags to indicate the object of the class is a container when it is TRUE and not a container when FALSE.

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