Ask the Expert

How can I find out to which OU a user object belongs?

How can I find out which OU a user object belongs to? Is there some GUI or utility that gives me this information? I can find which security groups a user belongs to, but not which OU.

Requires Free Membership to View

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.

This was first published in June 2003

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: