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 (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com