• 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: Enrique Zamudio <email@hidden>
  • Date: Mon, 11 Jun 2001 14:27:12 -0500

There's a function in Foundation called something like NSUsername(),
which returns a NSString with the user's login name.

You can also use NSHomeDirectory() to get the current user's home,
or NSHomeDirectoryForUser() to get any user's home directory.

eZL


  • Prev by Date: OpenSSL
  • Next by Date: Re: NSTextField & sizeToFit
  • Previous by thread: Re: Obtaining Current User Name
  • Next by thread: Public CVS hosting
  • Index(es):
    • Date
    • Thread