NSUserName() or NSFullUserName(). Thanks to Peter Hosey for letting us know about a better API for getting these.
NSUserName()
NSFullUserName()
Thanks to Peter Hosey for letting us know about a better API for getting these.