downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

posix_initgroups> <posix_getsid
Last updated: Fri, 14 Aug 2009

view this page in

posix_getuid

(PHP 4, PHP 5)

posix_getuidRetourne l'ID de l'utilisateur du processus courant

Description

int posix_getuid ( void )

Retourne l'ID de l'utilisateur du processus courant.

Valeurs de retour

Retourne l'identifiant, sous la forme d'un entier.

Exemples

Exemple #1 Exemple avec posix_getuid()

<?php
echo posix_getuid(); //10000
?>

Voir aussi

  • posix_getpwuid() - Retourne des informations sur un utilisateur
  • POSIX man page GETUID(2)



add a note add a note User Contributed Notes
posix_getuid
chris at ocportal dot com
30-Nov-2008 02:35
Note that this function is not defined on Windows PHP.

posix_initgroups> <posix_getsid
Last updated: Fri, 14 Aug 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites