Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello
I'm trying to retrieve in my app the user name of the current user.
The OSUser() function only returns the userdirectory and the userid.
Is there a way to retrieve the user name as shown in the QMC (or when logged on the hub - at the top left)
thanks for your help
ps: we're working with Qlk enterprise Sept. 2019 Patch 1
May be
Subfield(OSUSER(), '\', -1)
Thanks for the answer.
I had already tried your solution but it returns the AD userid, not the user name.
The Active Directory information logged into the qmc is username, domain, userid
thanks
hello again
nobody has an idea on how to proceed ?
thanks
Hi
Do you find any solution for this. Even I am trying to retrieve UserName in Mashup.
I am able to get UserID with OSUser() function but my requirement to show in MAshup webpage is Username.
If you have already got a solution pls share to us.
Try this
SubField(OSUser(), '=', -1)
If not, How it is returning when you use simply OSUSER()
SubField(OSUser(), '=', -1) --> did have to change from sumfield 😄
worked great!!
Not working for me. Please provide complete solution
thanks working fine with USER ID
Need UserName, how can we do that
I could see you have closed thread already, If you need more information regarding the issue please unmark and ask more details.