• 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
NSFullUserName() always returns the user name at app launch?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSFullUserName() always returns the user name at app launch?


  • Subject: NSFullUserName() always returns the user name at app launch?
  • From: Laurent Daudelin <email@hidden>
  • Date: Thu, 4 Feb 2010 00:27:23 -0800

I'm using NSFullUserName() to get the user name of the currently logged user and from my application, the user can open the Accounts preference pane to edit it. Problem is, after the user changes his user name, another call to NSFullUserName() still returns the original user name. Is this a bug or what?

BTW, supporting 10.4 (preventing the user of NSPreferencePanesDirectory, how can one can safely builds the path to "Accounts.prefPane" and make sure it will work even if the system runs under a different language than English?

Thanks in advance!




-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin 				http://nemesys.dyndns.org
Logiciels Nemesys Software              				email@hidden
Photo Gallery Store: http://laurentdaudelin.shutterbugstorefront.com/g/galleries

_______________________________________________

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

  • Follow-Ups:
    • Re: NSFullUserName() always returns the user name at app launch?
      • From: Joar Wingfors <email@hidden>
  • Prev by Date: Invitation to connect on LinkedIn
  • Next by Date: RE: Outlineview ParentObject
  • Previous by thread: Invitation to connect on LinkedIn
  • Next by thread: Re: NSFullUserName() always returns the user name at app launch?
  • Index(es):
    • Date
    • Thread