Re: Using Cocoa to get UID
Re: Using Cocoa to get UID
- Subject: Re: Using Cocoa to get UID
- From: p3consulting <email@hidden>
- Date: Sat, 13 Nov 2004 23:29:21 +0100
man getuid
"The getuid() function returns the real user ID of the calling process.
The geteuid() function returns the effective user ID of the
calling pro-
cess.
"
Pascal Pochet
email@hidden
----------------------------------
PGP
KeyID: 0x208C5DBF
Fingerprint: 9BFB 245C 5BFE 7F1D 64B7 C473 ABB3 4E83 208C 5DBF
Le nov. 13, 2004, à 22:55, Chad Armstrong a écrit :
Is it possible to retrieve the current user's UID using Cocoa, and if
so, how? From the command line, I can retrieve the UID by typing
"id".
Chad Armstrong
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden