• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Using Cocoa to get UID
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Using Cocoa to get UID (From: Chad Armstrong <email@hidden>)

  • Prev by Date: Re: Using Transitions
  • Next by Date: Re: Using Cocoa to get UID
  • Previous by thread: Using Cocoa to get UID
  • Next by thread: Re: Using Cocoa to get UID
  • Index(es):
    • Date
    • Thread