views:

121

answers:

1

please let me know how to get the currently logged in user's name or mac machine name (if possivle) in objective-c. Thanks

+3  A: 

There's NSUserName()

David Gelhar
Sometimes they make almost too easy and then you feel silly.
TechZen
I think everyone should give David a point for such a thorough and obviously well researched answer.
bbum