Perl Programming/Keywords/getpwuid

From Wikibooks, open books for an open world
Jump to navigation Jump to search
Previous: getpwnam Keywords Next: getservbyname

The getpwuid keyword[edit | edit source]

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

Syntax[edit | edit source]

  getpwuid UID

Examples[edit | edit source]

   getpwuid 4711;
Previous: getpwnam Keywords Next: getservbyname