posix_getuid

(PHP 4, PHP 5, PHP 7, PHP 8)

posix_getuid Restituisce il reale ID dell'utente per il processo corrente

Descrizione

posix_getuid(): int

La funzione restituisce il reale ID dell'utente per il processo corrente. Vedere anche posix_getpwuid() per dettagli su come convertire questo nel nome dell'utente.