Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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...