Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Display Logged in User Details

Hi All

I need to display logged in user details (user name) in my dashboard.

Could you help me the entire flow, how can I do that.

Attached an example.

Thank you.

11 Replies
jagan
Luminary Alumni
Luminary Alumni

Hi Narendra,

Please close this thread by giving Correct Answer  to the post which helps you if you got the answer.

Regards,

Jagan.

Not applicable
Author

If your Domain-User is something like "UserDirectory=....domainName...;UserId=..PersonalID.." then you can use the following within the script to prepare for use in the worksheets:

SET vUserName = UPPER(OSUser());
SET vScriptUserName = Right( Right($(vUserName), Len($(vUserName)) - FindOneOf($(vUserName),';')), Len(Right($(vUserName), Len($(vUserName)) - FindOneOf($(vUserName),';'))) - FindOneOf(Right($(vUserName), Len($(vUserName)) - FindOneOf($(vUserName),';')),'=') );

Best regards