groups [ User ]
The groups command without a User parameter writes to standard output the group membership of the current process. If the User parameter is specified, then the group membership for that User is displayed.
The groups command does not run successfully if the specified user does not exist or if it cannot read the user or group information.
Access Control: This program should be installed as a normal user program in the Trusted Computing Base.
To display your current group membership, enter:
groups
The getty command, login command, setgroups command, su command, tsm command.