You should still be able to create a linked server to an LDAP database and query the LDAP database directly via the linked server. There's information here on setting up the [linked server][1]. [1]: http://sql.dzone.com/news/querying-active-directory-thro