Previous Topic: Add an Attribute to an Extensible Object

Next Topic: Auto-Registered Attributes

Example: Extending an Object Class Definition

The following schema definition defines the object class newPerson, which inherits from the person object class.

The person object class must contain the attributes cn and surname, which means that the newPerson object class must also include those attributes. In addition, it may contain any other defined attribute.

schema set object-class myprefix:1 = {
name = newPerson
subclass-of person
may-contain
	all-attributes
};