I have a User GUID. How could I get the Organizational Unit (OU) of this user?
A:
This forum response shows how to generate the proper LDAP query, after that you just need to fetch the OU attribute from the returned object.
Ruddy
2010-01-27 12:50:30