The fully qualified name of any user object will include the OU that they are a member of: dc=jsmith, ou=sales, for example. Since a user object can only be a member of one OU at a time, you can use an LDAP or ADSI query to return all users within a given OU.
Dig deeper on Microsoft Active Directory Tools and Troubleshooting
Related Q&A from Laura E. Hunter
Active Directory expert Laura E. Hunter offers some advice for changing the IP addresses of domain controllers.continue reading
An admin has two domains and two Active Directories. He wants to know how to join the Active Directories so that internal staff can access both, but ...continue reading
A Windows administrator moving from Windows Server 2003 to Windows Server 2003 R2 wants to perform a restore of a previous server to a new one ...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.