posix_geteuid

(PHP3 >= 3.0.10, PHP4 >= 4.0b4)

posix_geteuid --  Return the effective user ID of the current process

Description

int posix_geteuid (void )

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.