Skip navigation

JSI Tip 1836. Showgrps enumerates a user's group membership.


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

              OR

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

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish