Choosing Columns for Displaying

When working with different Active Directory objects, it is possible (and may be very helpful) to display more fields than just the three default ones, or to delete unnecessary ones. Select the Add/Remove Columns (in Windows 2000 — Choose Columns) command in the View menu, and add or delete the necessary columns in the Add/Remove Columns window (Fig. 7.1). Each object will have its own set of fields.

ftddfttomov* Col units

H»S*iJ(i« Hon* ■ Ii^'f'1.Mr.JHL " Jet IrJj MuJ'.BJ

Qffiw_

Uh Logan t- me Zo Gadj hijhm Jglu i

Li ■ Hj-'i

J

1 - J™ I IS!

Dnvlijr

NJT*

Tp»

■1 1

•j

tiiil hijhm Jglu i ig. 7.1: Choosing necessary object attributes to be displayed

In Fig. 7.1, note that in MMC v.2.0 you can move any item to the beginning of the Displayed columns list. In Windows 2000, the Name item is always at the top.

Note When the Active Directory Users and Computers snap-in is used for creating new users, the Full Name field is generated as a concatenation of the First name and Last Name fields. The Full name field, in turn, determines the value of the cn attribute. (You can, however, change this order, if you like — see articles Q250455 and Q277717 in the Microsoft Knowledge Base.) You may want, for some reason, to use proprietary naming conventions in your organization. (This can be easily organized by using scripts or batch tools, such as LDIFDE or CSVDE. Manual manipulations are also possible.) For instance, you may wish for the cn attribute (i.e., the Full name field) to have the same value as the sAMAccountName attribute (the Pre-Windows 2000 Logon Name field) or as a proprietary ID code.

Note Sometimes, the Windows 2000 version of the Active Directory Users and Computers snap-in does not sort a container contents on some columns. (In Windows .NET, this is not an issue.) You can use the Find Users, Contacts, and Groups window rather than the main snap-in's window. This window allows you to sort rows according to the contents of any column. "Hide" the Name column from view and rearrange the columns in the order most useful for you. (It is not possible to remove this column in the main window. Moreover, in Windows 2000, this column must always be first.) Click Browse to view the forest tree and go to any location (then click Find Now). You can select the most appropriate of the two windows depending on your requirements.

Was this article helpful?

0 0

Post a comment