AnsweredAssumed Answered

How to derive the local system user name

Question asked by dzittin on Jul 19, 2012
Latest reply on Jul 20, 2012 by philmodjunk

Title

How to derive the local system user name

Post

Hi,

I would like to obtain the local user name as per the system login name, in a script, not the FM user name.

FM allows me to get the user name embedded in path strings, for example get(DesktopPath). I can parse the user's name out of this path, but I would rather not for fear that the name will not always be second to last, or can I rely on this?

Is there a function I have missed that returns this name in a script?

 

Thanks,

-D

Outcomes