The whoami utility displays your effective user ID as a name.
The whoami utility exits 0 on success, and >0 if an error occurs.