ACTIVE DIRECTORY - How do i write a query to display a list of users?
Posted on 2006-04-03
Hi all, this is an urgent one....
I have a list of about 350 user IDs in a text file that look like this:
In Active Directory Users and Computers there is a section at the top for specific AD queries. If i create a new query, then click Define Query i get the Find Common Queries dialog box. If i then click on Custom Search from the drop down list and go to the second tab, i can "Enter LDAP Query".
I would like someone to tell me how i can write an LDAP query so AD only shows the users IDs that match the list that i have. I am hoping that if someone can write a query based on the user IDs above, then i can amend it to display only the 350 users IDs from my list.
However - there may be a limit to the size of the AD LDAP query - anyone know?
I would really appreciate the help with this one - thanks in advance!!!!