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 Hunter
Active Directory expert Laura E. Hunter explains to a reader what must be done to change the default display specifiers for new users in Active ...continue reading
Active Directory expert Laura E. Hunter offers some advice for changing the IP addresses of domain controllers.continue reading
Active Directory expert Laura E. Hunter tells a reader what to keep in mind when deleting subnets associated with sites being removed in an ...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.