Re: Obtaining Current User Name
Re: Obtaining Current User Name
- Subject: Re: Obtaining Current User Name
- From: David P Henderson <email@hidden>
- Date: Thu, 7 Jun 2001 23:18:03 -0400
On Thursday, June 7, 2001, at 08:53 , 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...)
Try NSUserName() or NSFullUserName() which are under Foundation
functions in the docs. One thing you can do to find functionality in
Cocoa is to type in a word in the batch find pane and run a search in
the cocoa frameworks. It doesn't always work, but it can be a useful
starting place.
Dave
--
Chaos Assembly Werks
"Beautiful bodies and beautiful personalities rarely go together."
- Carl Jung