Examining Active Directory Objects

To finish this chapter, you'll build a second ADSI application, this time using the LDAP provider. This utility starts at the top of an Active Directory tree and fills in a tree-view control with all the objects in the tree. Next, as the user selects each individual object in the tree, the utility retrieves information about the object, including its security, and displays it for the user.

Starting the Project

To start this application, start a new standard EXE project in Visual Basic and include a reference to the Active DS Type library, as you did in Figure 12.1. Next, add the Microsoft Common Controls to the project, as shown in Figure 13.1, so that you'll be able to use the Tree View control.

Get Developing Secure Applications with Visual Basic now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.