Index
Main Menu
Related topics:
WindowsLogonUser
WindowsLogonUser
Tutorial Videos
Tutorial videos are available here.
Knowledge Base
Visit our User Forum for discussions & solutions
April 14, 2011
WindowsLogonUser - XpressDox
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>)»