Jump to content

Perl Programming/Keywords/getpwuid

From Wikibooks, open books for an open world
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