Deletes a class definition from the eDirectory schema.
#include <nwnet.h> or #include <nwdssch.h> N_EXTERN_LIBRARY (NWDSCCODE) NWDSRemoveClassDef ( NWDSContextHandle context, pnstr8 className);
uses netwin32 Function NWDSRemoveClassDef (context : NWDSContextHandle; className : pnstr8 ) : NWDSCCODE;
(IN) Specifies the NDS context for the request.
(IN) Points to the class name to be removed.
0x0000 0000 |
SUCCESSFUL |
nonzero value |
Nonzero values indicate errors. See |
Calling NWDSRemoveClassDef is not allowed if the class is referenced by any other class, or if objects of this class exist in the eDirectory database.
The className parameter identifies the class whose definition is to be removed.
NOTE:Clients cannot subtract from the standard set of class definitions defined by the eDirectory operational schema (these are flagged nonremovable). Clients can, however, add and remove non-standard definitions (if not in use).