ADSI and ADO

ADO is used to perform searches within the directory and present the results in a tabular form. On the other hand, ADSI is used to modify entries in the directory.

A typical way to combine ADSI and ADO is first to use ADO to search for one or more objects, iterate through the result set, and then modify the objects of interest with ADSI. Other uses of ADSI and ADO are illustrated in ADSI samples.