• 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: Obtaining Current User Name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Obtaining Current User Name


  • Subject: Re: Obtaining Current User Name
  • From: Scott Anguish <email@hidden>
  • Date: Fri, 8 Jun 2001 01:22:23 -0400

There are function calls for this

NSUserName

This function gets information about a user.

NSString *NSUserName(void)

Returns the logon name of the current user.

Special Considerations

See also NSFullUserName, NSHomeDirectory, NSHomeDirectoryForUser



On Thursday, June 7, 2001, at 08: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


References: 
 >Obtaining Current User Name (From: Karl Goiser <email@hidden>)

  • Prev by Date: Re: "Tricks" of the "Trade"
  • Next by Date: Re: Rotating NSImage?
  • Previous by thread: Re: Obtaining Current User Name
  • Next by thread: Re: Obtaining Current User Name
  • Index(es):
    • Date
    • Thread