Perl Programming/Keywords/getpwuid

The getpwuid keyword

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

Syntax

  getpwuid UID

Examples

   getpwuid 4711;