Use Google to find help fast. For example, search on "xpressdox choosefromlist".

The WindowsLogonUser Function

The WindowsLogonUser Function

This function is used to gain access to the user name with which the person running the template logged on to Windows

The person running this template is logged on to Windows with the user name: <<WindowsLogonUser()>>.

It is often used in conjunction with the SetSavedDocumentFolder and SetSavedDocumentFileName commands in order to create a file path which is unique to that user.

For example:

<<CreateDataElement('FilePath',concat('..\Documents\',WindowsLogonUser()))>>
<<SetSavedDocumentFileName(<FilePath>)>>

Leave a Reply