Training
Module
Enumerate objects in the pipeline - Training
This module explains how to enumerate objects in the pipeline so that you can work with one object at a time during automation.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Accessing and Manipulating Data with ADSI provides several examples of enumeration. You can also enumerate the children of container objects. These children are objects themselves, rather than just properties on objects.
The following example uses the IADsContainer interface to enumerate the children of the container.
Dim Container as IADsContainer
Dim Child as IADs
Set Container = GetObject("LDAP://MyServer/DC=MyDomain,DC=Fabrikam,DC=com")
For Each Child in Container
Debug.Print Child.Name
Next Child
Training
Module
Enumerate objects in the pipeline - Training
This module explains how to enumerate objects in the pipeline so that you can work with one object at a time during automation.
Documentation
Collections and Groups - Win32 apps
ADSI uses collection objects to represent any arbitrary set of items in a directory service that can be represented using the same data type.
An ADSI extension is a special COM object that enable a developer to extend an ADSI object.
Using the ADSI Schema - Win32 apps
A schema defines the universe of objects stored in a directory.