array(int|string) getpwuid(int uid)
Get the user entry for UID uid using the systemfunction getpwuid(3).
The uid of the user whos userrecord is requested.
An array with the information about the user
Users username (loginname)
User password (encrypted)
Users ID
Users primary group ID
Users real name an possibly some other info
Users home directory
Users shell
getpwnam() getpwent()