Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
SatyaPaleti
Creator III
Creator III

Assign Current User Name to Variable

Hi Everyone,

I need to assign Current User Name to Variable. How can we do that? 

Actually we have Users Table. In the User Table we have User Name Category & Sub Category. We need to show application based on User accessibility

We are Loading User Table

Table:

Load *

from users.qvd

where user  = $(vUser);

 

Here vUser should be current user. 

I am assigning vUser = OSUSER(); but we are getting vUser who reloaded application. We need vUser to be who has open application.

for example: if there is users like X,Y & Z if X opens application username should show X. if Y open application username should be Y and so on.

is there any way to resolve this?

Thanks,

Satya 

Labels (1)
10 Replies
SatyaPaleti
Creator III
Creator III
Author

Thanks @tresesco  for sharing this article I will go through it