Wix: Formatted Fields: How do I refer to Environment Variables in FORMATed fields?
In Formatted fields you can refer to them as follows:
[%USERDOMAIN] [%USERNAME]
…which is similar – but not exactly the same – as how you would access them from the command line:
echo %USERDOMAIN%