This chapter provides you with examples of the most common features that you will want to program using ADSI with the Exchange Server directory, but you can program a lot more functionality. If you want to learn more about ADSI and the Exchange Server directory, my recommendation is to review the ADSI information in the MSDN Library under the section Platform SDK\Networking and Distributed Services\Active Directory\Active Directory Services Interfaces (ADSI). Also, to make it easier to visualize the relationships among the objects in the Exchange Server hierarchy, I would recommend using the program named Active Directory Browser (adsvw.exe), which is available on the companion CD. This program draws out the hierarchy of any directory service using ADSI and allows you to query and browse the objects and properties contained in a specific directory as shown in Figure 14-13. This program is an invaluable tool to help you discover the available objects and attributes contained in the Exchange Server directory.
Figure 14-13 The Active Directory Browser program. This program displays graphically the relationship and attributes of the objects contained in any directory that you can connect to using ADSI.