The NEW XpressDox Version 14 is now available!

Edit Content
Click on the Edit Content button to edit/add the content.

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>)»

Table of Contents