In tip 1676, we parsed the NET USER command output, to enumerate a users group membership.
Showgrps.exe is much easier to use. The syntax is:
showgrps \[/A\] domain\user
showgrps \[/A\] user
where /A checks all known trusted domains.
Here is an example, returned from showgrps JSI\Jennifer:
User: \[JSI\Jennifer\], is a member of: JSI\Domain Users \Everyone JSI005\Print Operators JSI005\Users