Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: get currently logging in users




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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >get currently logging in users (From: lazuardi <email@hidden>)
 >Re: get currently logging in users (From: Andrew Farmer <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.