You should be able to read the AD using the Microsoft OLEDB Provider for directory services. You could connect with oledb and create an ADO recordset from the AD. Another way, which I would be inclined to use, is to use the oledb provider to make a linked server on the sql server side. This way you could treat the AD like any other sql server table. This would be done with the same oledb provider.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.