Is it possible to reteive a group of users(not all ) from AD using an SQL
query? The users will be placed under folder structures like F1, F2 and i
need to extract only those users in F1 and F2.

Thnx

Re: Retrieve Users in AD from SQL server Procedure by Paul

Paul
Tue Mar 25 05:44:21 PDT 2008

No. SQL statements cannot be applied against an LDAP database. Something
such as vbscript can be used to query AD. There are other languages as well
that can pull info from AD user objects.

http://www.microsoft.com/technet/scriptcenter/scripts/default.mspx?mfr=true

--
Paul Bergson
MVP - Directory Services
MCT, MCSE, MCSA, Security+, BS CSci
2008, 2003, 2000 (Early Achiever), NT4

http://www.pbbergs.com

Please no e-mails, any questions should be posted in the NewsGroup
This posting is provided "AS IS" with no warranties, and confers no rights.

"Sen" <Sen@discussions.microsoft.com> wrote in message
news:54D4F4F2-52EC-461E-BD5D-9FBD7581E4DB@microsoft.com...
> Is it possible to reteive a group of users(not all ) from AD using an SQL
> query? The users will be placed under folder structures like F1, F2 and i
> need to extract only those users in F1 and F2.
>
> Thnx