Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Finding users

Posted on 2006-05-26
2
Medium Priority
?
193 Views
Last Modified: 2011-10-03
I need to be able to find all users that exist within BOTH AD groups "Citrix Office 2000 Users" and "Citrix Clinical Office Users". I have 2600 users so the list would be a bit large to manually go through.

We had some users get assigned to both groups, therefor they are getting the Office icons two times on their desktop.

Thanks.
0
Comment
Question by:campbelc
2 Comments
 
LVL 15

Accepted Solution

by:
wwwally earned 2000 total points
ID: 16769129
Hello Campbelc,

Create a query in ADUC.
Open ADUC and in the "Saved Queries"folder create a new query.
Select "define query", select "custom search" and klik the advanced tab.
Use the following query for your search:
(&(objectClass=User)(memberOf=CN=Citrix Office 2000 User,OU=OUNAME,DC=domainname,DC=com)(&memberOf=CN=Citrix Clinical Office Users,OU=OUNAME,DC=domainname,DC=com))
you wil have to change the CN and OU names for teh query to work in you environment.

Here are some LDAP search samples for some extra information.
 http://www.petri.co.il/ldap_search_samples_for_windows_2003_and_exchange.htm

Good luck,

Walter
0
 
LVL 6

Author Comment

by:campbelc
ID: 16798005
Thank you worked great. My problem was I entered the OU statements in reverse.
0

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

So you have two Windows Servers and you have a directory/folder/files on one that you'd like to mirror to the other?  You don't really want to deal with DFS or a 3rd party solution like Doubletake. You can use Robocopy from the Windows Server 200…
The HP utility "HP Lights-Out Online Configuration Utility for Windows Server 2003/2008" could be of great use when it comes to remotely configure a HP servers ILO WITHOUT rebooting the server. We would only need to create and run scripts using thi…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question