Microsoft KB Archive/296646

{|
 * width="100%"|

HOWTO: Add Custom Attributes to the DSFind Pick List

 * }

Q296646

-

The information in this article applies to:


 * Microsoft Windows versions 2000, 2000 SP1, 2000 SP2 Advanced Server
 * Microsoft Windows versions 2000, 2000 SP1, 2000 SP2 Server
 * Microsoft Active Directory Services Interface, System Component
 * Microsoft Active Directory Client Extension

-

SUMMARY
In the Active Directory Users and Computers Microsoft Management Console (MMC) snap-in, you can search for objects based on a filter. There is a list of attributes for user objects that can be selected from a pick list. This article describes how to add an attribute to this pick list.

MORE INFORMATION
To add attributes to the pick list you must modify the user-display object in the appropriate display specifiers. To do this, follow these steps:

 Use ADSIEdit to select the Configuration namespace. Expand the displaySpecifier container. Expand the appropriate displaySpecifier container. For example, &quot;409&quot; is English. View the Properties for the user-Display object.  Modify the attributeDisplayNames attribute by adding a value in the format: "Your_new_Attribute,friendly_name" For example, &quot;Country&quot; looks like this: 

To verify that your new attribute is available to select, follow these steps:


 * 1) Start the Users and Computers snap-in.
 * 2) Select a container.
 * 3) From the Action menu, choose Find.
 * 4) On the Advanced tab, click Field and select User.

You will see a list of attributes on the User class, including the attribute that you just added.

If you have multiple domains, you may want to add the new attributes to the personal-information property set. By default the User class supports the personal-information property set, which by default has the read right set for authorized users. This will ensure that this information can be read by other domain accounts. For additional information, see the following Microsoft Platform SDK Documentation topic:

Control Access Rights

http://msdn.microsoft.com/library/psdk/adsi/glsecur2_3cvn.htm