Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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.
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.
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.
Ty a lot for the explanation
If your issue resolved, please close this thread.
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);
Best Regards,
Shay