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 (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 [EMAIL PROTECTED]

Reply via email to