Re: Obtaining Current User Name
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