/usr/bin/id [ –a ]
id displays your user ID, username, group ID, and group name. If your real ID and your effective IDs do not match, both are printed.