How To Add Custom Attributes to the DSFind Pick List (296646)



The information in this article applies to:

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

This article was previously published under Q296646

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:
  1. Use ADSIEdit to select the Configuration namespace.
  2. Expand the displaySpecifier container.
  3. Expand the appropriate displaySpecifier container. For example, "409" is English.
  4. View the Properties for the user-Display object.
  5. Modify the attributeDisplayNames attribute by adding a value in the format:

    Your_new_Attribute,friendly_name

    For example, "Country" looks like this:

    co,Country

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:

REFERENCES

For more information about extending the Active Directory schema, see the following Platform SDK Documentation topic: For more information about the personal-information property set, see the following Platform SDK Documentation topics:

Modification Type:MinorLast Reviewed:6/29/2004
Keywords:kbDSWADSI2003Swept kbDSWADSI2003Swept kbhowto KB296646 kbAudDeveloper