Re: Using Cocoa to get UID
Re: Using Cocoa to get UID
- Subject: Re: Using Cocoa to get UID
- From: "Sean McBride" <email@hidden>
- Date: Sat, 13 Nov 2004 17:23:38 -0500
Chad Armstrong (email@hidden) on Sat, Nov 13, 2004 16:55 said:
>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".
You can use the getuid() API. There is a man page.
--
Erroneous google translation: "Man, 28-33 years, seek woman with whom to
spend time and to learn how to know."
_______________________________________________
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