posix_getpwnam

posix_getpwnam

(PHP 4, PHP 5, PHP 7)

posix_getpwnamReturn info about a user by username

Description

array posix_getpwnam ( string $username )

Returns an array of information about the given user.

Parameters

username

An alphanumeric username.