posix_geteuid()
posix_geteuid - Return the effective user ID of the current process
Syntax
int posix_geteuid ()
Arguments
-
Description
Return the numeric effective user ID of the current process. See also posix_getpwuid() for information on how to convert this into a useable username.
Version
PHP 4, 5
Return value
Returns the user id, as an integer