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