Network Groups and Users

Some of the object types that you might want to work with in Active Directory are users and groups. This will enable you to determine who is in a particular group and what groups a user belongs to. After you start examining the security of particular objects, this information is likely to come in handy.

The IADsCollection Object Interface

The IADsCollection object is similar to the IADsContainer class that you learned about in the previous chapter. A distinct difference exists between the two. Whereas the IADsContainer class could hold a mixture of classes, the IADsCollection can hold only a collection of objects of the same class. Like the IADsContainer class, the IADsCollection class can be enumerated using a For Each ...

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.