Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
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
Required, but never shown
8 years, 9 months ago
4 years, 4 months ago