id

Print user and group IDs

low risk

interactive breakdown — edit the command and press Explain
$ 
What it does

Shows UID, GID and supplementary groups for a user.

Examples
idYour identity · explain & risk-check →
id aliceAnother user · explain & risk-check →
Related
groups whoami getent
Open the full explainer →More in System & Processes

Reference text is hand-written and may be incomplete — check man id for your version. Test destructive commands on a non-production system first.