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 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:
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>)



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.