Re: Using Cocoa to get UID
Re: Using Cocoa to get UID
- Subject: Re: Using Cocoa to get UID
- From: Will Mason <email@hidden>
- Date: Sat, 13 Nov 2004 14:24:27 -0800 (PST)
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
The function "uid_t getuid(void)" from unistd.h will give you the user
that owns the current process.
Will
--- Chad Armstrong <email@hidden> wrote:
> 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
>
_______________________________________________
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