id(1)
NAME
id − print the user name and ID, and group name and ID
SYNOPSIS
id [ −a ]
DESCRIPTION
id displays the calling process’s ID and name. It also displays the group ID and name. If the real and effective IDs do not match, both are printed.
The -a option reports all the groups to which the invoking process belongs, ID, and your username. If your real and effective IDs do not match, both are printed.
SEE ALSO
logname(1) getuid(2) in the CX/UX Programmer’s Reference Manual.
CX/UX User’s Reference Manual