fizbin01
asked on
View users group memberships
How do I view a users group membership?
I can look in groups and see the members but I need to see what a user is a member of.
I can look in groups and see the members but I need to see what a user is a member of.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If my applications need to check, I use @UserNamesList. It'll return:
- Common name
- All hierarchical names (fully distinguished) that include the user name; for example, CN=My Name/OU=My Org Unit/O=My Org, plus */OU=My Org Unit/O=My Org, */O=My Org, and *
- Any roles associated with the user in the ACL
And, to answer your question:
- All groups to which the user belongs (only if the database is on a server)