Re: How to find active user in the cocoa
Re: How to find active user in the cocoa
- Subject: Re: How to find active user in the cocoa
- From: Greg Guerin <email@hidden>
- Date: Mon, 10 Aug 2009 08:12:20 -0700
Arun wrote:
Is there any way in cocoa to find who is active user if multiple
users have
logged in.
Read the man page for getuid. It's a C function and applies to the
current process.
You can call C functions in Objective-C, and Cocoa has any number of
C functions that developers use regularly. For example, see NSLog().
-- G
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden