Re: get currently logging in users
Re: get currently logging in users
- Subject: Re: get currently logging in users
- From: Jens Alfke <email@hidden>
- Date: Thu, 13 Mar 2008 18:11:15 -0700
On 13 Mar '08, at 5:49 PM, lazuardi wrote:
Does anybody know how to get the full username of the currently
logging in user at Tiger?
You could have answered this yourself by opening Xcode's documentation
window (Help > Documentation), typing "username" into the search
field, and setting the match criteria to "Contains". You'd get a list
of about 20 matches, but most of those are pretty obviously not the
right thing because they're constants. After looking through a couple
of others you'll find "NSUserName".
Nothing personal, but I'm getting frustrated by the number of
questions asked on this list that could have been answered by a quick
look at the docs.
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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