Directory Services |
In the Microsoft® Active Directory® administrative MMC snap-ins, the user can create new objects in a directory by opening the context menu for the container where the new object will be created, choosing New, and choosing the class of object to create. Creating new instances of an object starts the object creation wizard. Each object class may specify the use of a specific creation wizard, or it may use a generic creation wizard. For common classes, such as user and organizationalUnit, the Active Directory Users and Computers snap-in provides a standard set of creation wizards.
There are two ways to extend a creation wizard:
This documentation assumes that the reader is familiar with COM operation and component development using C++. It is not currently possible to create an Active Directory object creation wizard extension using Microsoft® Visual Basic®.
Both primary and secondary object creation extensions are COM in-proc servers that implement certain interfaces and are registered with Active Directory.
To create and install an object creation extension
An object creation wizard can also be invoked from an application other than the Active Directory administrative MMC snap-ins. For more information, see Invoking Creation Wizards from Your Application.
If a creation wizard is not registered for an object class, Active Directory administrative snap-ins provide a generic creation wizard. The generic creation wizard is built at run time from the list of mandatory properties for the class of object created. For each mandatory property, a page is added to the UI. The generic creation wizard is not extensible. If extensibility is required, it must be replaced with a primary object creation extension.