Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
jcarloscandela
Contributor II
Contributor II

Display Name in Qlik Sense Desktop

Hi All

I need to display my username in my dashboard

Im using the function QVUser() and it shows me empty, and when I use OSUser() it shows me 'Personal/Me'.

How can I show my username 'Juan Carlos Candela'

Thank you.

1 Solution

Accepted Solutions
Levi_Turner
Employee
Employee

Hey Juan, That is just how Qlik Sense Desktop works (https://help.qlik.com/en-US/sense/June2018/Subsystems/Hub/Content/Scripting/SystemFunctions/system-f... In Qlik Sense Desktop, this function always returns 'Personal\Me'. This is one of the reasons why Section Access does not work in Qlik Sense Desktop. Hope that helps.

View solution in original post

4 Replies
Levi_Turner
Employee
Employee

Hey Juan, That is just how Qlik Sense Desktop works (https://help.qlik.com/en-US/sense/June2018/Subsystems/Hub/Content/Scripting/SystemFunctions/system-f... In Qlik Sense Desktop, this function always returns 'Personal\Me'. This is one of the reasons why Section Access does not work in Qlik Sense Desktop. Hope that helps.

jcarloscandela
Contributor II
Contributor II
Author

Ty a lot for the explanation

balabhaskarqlik

If your issue resolved, please close this thread.

shaybitton
Partner - Contributor III
Partner - Contributor III

I Think i might found  a solution for this.

By using "GetFolderPath" function  I get the user's folders' paths like : MyMusic, MyPictures  etc.

Then use this GetFolderPath function as the 'TEXT' part in the SUBFIELD function.

This solution will give you only the Username with the domain or the machine name.

This is the  line you need to add in the script :

let vOSUSER = SubField(GetFolderPath('MyMusic'),'\',3);

https://help.qlik.com/en-US/sense/November2018/Subsystems/Hub/Content/Sense_Hub/Scripting/FileFuncti...

https://help.qlik.com/en-US/qlikview/November2018/Subsystems/Client/Content/QV_QlikView/Scripting/St...

 

Best Regards,

Shay