Re: get currently logging in users
Re: get currently logging in users
- Subject: Re: get currently logging in users
- From: lazuardi <email@hidden>
- Date: Fri, 14 Mar 2008 10:11:58 +0900
On 2008/03/14, at 9:59, Andrew Farmer wrote:
On 13 Mar 08, at 17:49, lazuardi wrote:
Does anybody know how to get the full username of the currently
logging in user at Tiger?
Foundation Functions Reference suggests NSUserName(). There are a
bunch of related functions (home directories, full username, etc)
available in there as well.
Andrew,
The NSUserName() give only the currently working username.
I hope to retrieve the whole list of users that currently logging in
at the machine.
You might recognize at the login window or at the FUS menu, the active
users has orange mark at the left side of their username. I want to do
such kind of that.
Regards,
Ardian
_______________________________________________
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