Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
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 (3)
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...