To access the new attributes that you've added to the user class, you need a way to enter the values. You could use an automated script, but Windows is famous for its graphical user interface, so this section shows you how to add a cute little dialog box to modify your new attributes.
NOTE
This section walks you through modifying the display specifier with ADSI Edit. If you don't have ADSI Edit on your computer, install the support tools (SUPTOOLS.MSI) from the Windows Server 2003 installation CD. The tools are located in the Support\Tools folder. (They're in the same location for Windows 2000.)
Open ADSI Edit. Probably the fastest way is to open the Run menu and type adsiedit.msc.
Expand the Configuration, CN=Configuration, and CN=DisplaySpecifiers nodes, and then select the CN=409 node.
In the right pane, locate the CN=user-Display object, right-click it, and click Properties on the context menu, as shown in Figure 7. The CN=user-Display Properties dialog box opens.
In the Attributes window, click adminContextMenu. Click the Edit button. A Multi-valued String Editor dialog box opens.
In the Value to Add text box, type the following strings, clicking Add after each one:
Click OK twice to close this dialog box and then the CN=user-Display Properties dialog box.
Close ADSI Edit.
Open the Schema console and reload the schema. In the left pane, right-click the Active Directory Schema node and click Reload the Schema.
Close the Schema console.
Figure 7 Display specifier 409.
,&SSN, C:\ssn.vbs ,&Employee-Number, C:\employee-number.vbs ,&Employee-ID, C:\employee-ID.vbs
NOTE
Be sure to type the comma at the beginning of each string.
When you're finished, the dialog box should look like the one in Figure 8.
Figure 8 Modifying the user display specifier.