Re: How to get full user name prior to 10.12?


Graham Cox
 

On 10 Aug 2017, at 10:28 pm, Shane Stanley <sstanley@...> wrote:

On 10 Aug 2017, at 10:24 pm, Graham Cox <graham@...> wrote:

10.12 added a method to NSProcessInfo, -fullUserName.

How do I get the same info on earlier OS?
The Foundation function NSFullUserName().

Ah, hidden in plain sight! Thanks

G.

Join cocoa@apple-dev.groups.io to automatically receive all group messages.