Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
MEBG93
Creator
Creator

How to detect Windows user?

Hello everyone!

I'm looking to detect and show the current Windows user name so the app can run the data sources on different computers. For instance, I want to create a dynamic path variable so I can find the local Qlik file. E.g.:

FROM "C:\USERS\{user name}\Documents\Qlik\Sense\..."

Is there an expression for this?

Thanks!

MB

Labels (1)
1 Reply
Stoyan_Terziev
Partner - Creator III
Partner - Creator III

Hi MB,

 

You can check the functions FilePath () and OSUser().

 

More file functions here: https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Scripting/FileF...