Platform SDK: Active Directory, ADSI, and Directory Services |
Extend the schema only if no existing object class meets your needs. Extending the schema is a "heavy weight" operation; schema changes are replicated to every domain controller in the enterprise. Consider your needs carefully and assess whether an extension is really necessary.
The schema can be extended in three ways:
Modification of an existing class is required when your application requires the ability to extend existing objects of the class. For instance, to add application-specific information to the User object, you'd normally extend the class User, because you need to deal with existing Users not just special Users created by your application.
Whether you subclass an existing class or modify an existing class, you will want to extend tools like the Active Directory Users and Computers snap-in to manage the extended attributes of the objects. For more information, see Extending the User Interface for Directory Objects.