How can I find all groups for a specific user (groups for which the user is assigned) using dsquery?
dsquery user -samid [username] | dsget user -memberof -expand | dsget group -samid
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
3 years ago