Examining Groups and Users
To see how this portion of the ADSI interface works and how it can be used, you'll build a utility that allows you to see all the users and groups in a particular domain. You'll be able to enter the name of any domain to which you have access and select whether you want to see the groups, the groups with the users in them, the users, or the users and which groups they are in.
Designing the User Interface
To start this application, create a new standard executable Visual Basic project. Open the project references and add a reference for the Active DS Type Library, as shown in Figure 12.1.
Figure 12.1. Adding a reference for the Active Directory objects.
Next, add controls to the project form as shown in Figure 12.2 ...
Get Developing Secure Applications with Visual Basic now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.