> DNU home > code projects page 1
ndapSchemaXtn - Source Code Details 9
DeveloperNet University Article

Attribute definitions are removed from the schema with the NWDSRemoveAttrDef call. All classes using the attribute definition must be removed before the attribute definition can be removed.

A core NDS class (e.g., User) cannot be removed from the schema. So, if the attribute has been added to a core class, it cannot be removed either.

A prototype for NWDSRemoveAttrDef is shown below:

 (NWDSCCODE) NWDSRemoveAttrDef (NWDSContextHandle context, pnstr8 attrName );

context Specifies the NDS context for the request.

attrName The name specifying the attribute attribute to be removed.

Note: Non-zero return values from NWDSRemoveAttrDef indicate an error. To understand handling client side NDS errors, refer to handling_errors.



PREVIOUSblankTop of Pageblank