Perl Programming/Keywords/getpwuid

Previous: getpwnam Keywords Next: getservbyname

The getpwuid keyword edit

The getpwuid function gets the next passwd record given the users identifier UID.

Syntax edit

  getpwuid UID

Examples edit

   getpwuid 4711;
Previous: getpwnam Keywords Next: getservbyname