Microsoft® Active Directory® and Active Directory administrative MMC snap-in user interface can be customized to adapt to the requirements of administrators and users. Active Directory enables the schema to be modified by creating new classes and attributes, or modifying existing classes. Display specifiers for the classes can be modified to reflect the new user interface elements that schema modifications require.
The following attributes can be used to modify how the Active Directory administrative snap-ins will display objects of a particular class.
|defaultHidingValue||The defaultHidingValue attribute is an attribute of a
classSchema object. This attribute contains a boolean value
that, if TRUE, causes instances of the object class to be hidden in
the administrative snap-ins and the Windows shell. This also means
that a menu item for the new object class does not appear in the
New context menu of the administrative snap-ins, even if the
appropriate creation wizard properties are set on the new object
class's displaySpecifier object.
If this attribute is FALSE, instances of the class will be visible in the administrative snap-ins and the shell. This also causes a menu item to create a new object instance to be added to the New menu of the administrative snap-ins.
If no value is set for this attribute, the default value is TRUE. This means that, by default, instances of the object are hidden.
|showInAdvancedViewOnly||The showInAdvancedViewOnly attribute contains a Boolean
value that, if TRUE, causes instances of the object class to appear
in the Users and Computers snap-in in Advanced View only and do not
appear in the Windows® shell.
If this property is FALSE, instances of the class will be visible in Normal view in the Users and Computers snap-in and the Windows shell.
If no value is set for this attribute, the default value is TRUE.
This attribute can be set on an individual object to override the value set on the object class. For example, the Container class has this attribute set to TRUE but the User container has this value set to FALSE. Because of this, the User container appears in the shell and in Normal view in the Users and Computers snap-in but other containers that do not have showInAdvancedViewOnly set to FALSE appear only in Advanced view in the Users and Computers snap-in.
To customize the user interface for a new class, create a display specifier object for the new class for each supported locale, then set the desired attributes for the display specifier.
A new class that inherits from an existing class does not inherit the parent class display specifier. If the new class is to use some or all of the parent class display specifier properties, create a new display specifier for the new class and copy the properties from the parent class display specifier to the new object display specifier. This must be done for all locales for which the parent class display specifier properties apply.
Certain parts of the UI functionality, such as the menu items and creation wizard for the user class, are implemented internally and are not available for use by a derived object. In these instances it is better to extend an existing class than to use a derived class.
New attributes can be added to an existing class. New UI components (property pages, menu items, and attribute display names) can be added or the existing UI replaced. It is also possible to design new property pages that expose fewer attributes of a class and to create context menus with fewer actions. For more information, see Property Pages for Use with Display Specifiers, Context Menus for Use with Display Specifiers and Class and Attribute Display Names.