Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

LDAP logged in username

Hi All,

I want to show the user name of the user who opens the qvw app on browser or desktop.

For this I have used the predefined function OSUser() which gives the user id not the user name.

Do any one has the idea how to get the user name using the user id?

I request you to please suggest the solution using macros or any alternative method except section access because it will restrict to certain user not all.

2 Replies
avinashelite

Hi Anuj,

A simple way to handle this is create a mapping table for the USERID and username

like:

userid, Name

1 , Anju

2, Anu

something like this ....and while displaying the get the user name from name column

schlettig
Partner - Creator
Partner - Creator

Hi Anuj,

you could read the info already, when the script is loading:

https://community.qlik.com/docs/DOC-6079

This document contains a macro to query Active Directory, but maybe it works with your LDAP.

Best regards,

Christian