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

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


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

Hmmm... That's not what I did observe. After I change my user name, if I quit my app and relaunch, the next call to NSFullUserName() returns the new user name.




-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

On Feb 4, 2010, at 10:01, Dave DeLong wrote:

> It seems like he's saying that the name change doesn't take full effect until the user logs out and logs back in.  For example, my FullUserName() is "Dave DeLong".  If I change it to "Zaphod Beeblebrox", that won't take effect until I log out and log back in, because my current user session is for Dave DeLong, not Zaphod Beeblebrox.
>
> HTH,
>
> Dave (or Zaphod...?)
>
> On Feb 4, 2010, at 10:57 AM, Laurent Daudelin wrote:
>
>> David,
>>
>> I really don't understand what you're saying. Thanks, Joar, makes me feel better a bit.
>>
>> On Feb 4, 2010, at 09:20, David Blanton wrote:
>>
>>> No.  They are logged n a user A,  changing the name to user B is meaningless until they log out / login in.
>>>
>>> My guess anyway.
> _______________________________________________
>
> 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

_______________________________________________

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

References: 
 >NSFullUserName() always returns the user name at app launch? (From: Laurent Daudelin <email@hidden>)
 >Re: NSFullUserName() always returns the user name at app launch? (From: Joar Wingfors <email@hidden>)
 >Re: NSFullUserName() always returns the user name at app launch? (From: David Blanton <email@hidden>)
 >Re: NSFullUserName() always returns the user name at app launch? (From: Laurent Daudelin <email@hidden>)
 >Re: NSFullUserName() always returns the user name at app launch? (From: Dave DeLong <email@hidden>)

  • Prev by Date: Re: NSFullUserName() always returns the user name at app launch?
  • Next by Date: Re: Determining the name of a method's caller
  • Previous by thread: Re: NSFullUserName() always returns the user name at app launch?
  • Next by thread: RE: Outlineview ParentObject
  • Index(es):
    • Date
    • Thread