blog.nhaslam.com
Creating a query against Active Directory from SQL Server 2005
1. Create a linked server connection to Active Directory EXEC sp_addlinkedserver ‘ADSI’, ‘Active Directory Services 3.0’, ‘ADSDSOObject&#8217…