• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Obtaining Current User Name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Obtaining Current User Name


  • Subject: Re: Obtaining Current User Name
  • From: Dallas De Atley <email@hidden>
  • Date: Thu, 7 Jun 2001 21:02:32 -0700

Hi,

There are some nifty functions in Foundation that provide this type of stuff.

Check out "/System/Library/Frameworks/Foundation.framework/Headers/NSPathUtilities.h"
for NSUserName() and NSFullUserName().

They return NSString objects.

- Dallas


On Thursday, June 7, 2001, at 05:53 PM, Karl Goiser wrote:

Hello,

Could somebody please tell me how to obtain information about the currently logged in user?

(Sorry if this is a dumb question, but I really don't know where to look...)

Karl

-- ----
Klaatu barada nikto
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev


References: 
 >Obtaining Current User Name (From: Karl Goiser <email@hidden>)

  • Prev by Date: Re: "Tricks" of the "Trade"
  • Next by Date: Hiliting an NSToolbarItem (the "Current" selection)?
  • Previous by thread: Re: Obtaining Current User Name
  • Next by thread: Re: Obtaining Current User Name
  • Index(es):
    • Date
    • Thread