Re: Getting the user's name from cocoa
Re: Getting the user's name from cocoa
- Subject: Re: Getting the user's name from cocoa
- From: "Sven A. Schmidt" <email@hidden>
- Date: Mon, 2 Jul 2001 16:24:51 +0200
NSUserName()
NSFullUserName()
You can find info on them in the functions section of the foundation
reference.
Sven
On Montag, Juli 2, 2001, at 10:39 Uhr, Simon Stapleton wrote:
Another newbie question.
I'm just adding a bunch of defaults processing to my app, and one of the
fields it asks for is the user's name. Now it occurs to me that the
system knows who the user is - is this stored anywhere in the cocoa
preferences stuff, or do I have to go off to the OS and get it?
Simon
--
Your mouse has moved. You must reboot Windows NT for these changes to
be
recognised.
This message was sent by Easymail - http://www.easynet.co.uk/
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev