My task has been to create a secure (Windows version) Excel workbook that uses macros to validate whether a user has permission to view the contents. In Excel 2010 for Windo
Environ("USER") and Environ("LOGNAME") return the same thing on the Mac as the MacScript answer.
Environ("USER")
Environ("LOGNAME")