CSCopyUserName() was deprecated in 10.8 and Apple recommends getpwuid() as its replacement <https://developer.apple.com/library/mac/releasenotes/General/CarbonCoreDeprecations/index.html> so it should be ok to just fall through to the unix calls if the Address Book calls don't return anything