• 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: 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

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

  • Prev by Date: nubie attempt to use NSTableView with NSArrayController
  • Next by Date: NSDocument window not showing
  • Previous by thread: Re: Using Cocoa to get UID
  • Next by thread: I tried but I can't...
  • Index(es):
    • Date
    • Thread