Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to use qvuser() in qlikview?

hi,

I created  qv application.and I want to  use qv user()  function in my qv application.I do not know qvuser () in qlikview .pls tell me out what is  qv user() ? and how to use qv user () in qlikview.can any one explain to me with  example.

                                                   Thankyou,

regards

madhu

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

See my responses to your other question:CAN ANY ONE EXPLAIN THIS SCRIPT?

View solution in original post

15 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

HI Madhu,

QvUser() returns you the user by which you have open the QlikView application.

This function is used when you have applied the section access in your application.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Not applicable
Author

Thankyou kaushik solanki.

Not applicable
Author

hello kaushik solanki .I understand but I do not know  how to use qvuser () in qlikiview.pls can you send small example.

kaushik solanki.plss

Regards

madhu.

ToniKautto
Employee
Employee

QvUser() can be used to identify the current user, when you are using Section Access and USERID field.

If you do not user Section Access and USERID, this function is of no value to you.

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

All you have to do is create a text box and put text as =QvUser()

This will show you the user name.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Not applicable
Author

Thankyou kaushik solanki.this is my data .which place i use qvuser() pls tell me kaushik solanki

SECTION Access;

ACCESS:

LOAD * Inline [

ACESS,USERID,PRODUCT

ADMIN,MADHU,*

USER,KALYAN,SAMSUNG

USER,KUMAR,SONY

];

SECTION Application;

LOAD * Inline [

USERID,CH01,CH02

MADHU,1,1

KALYAN,1,0

KUMAR,0,1

];

LOAD * Inline [

USERID,PRODUCT,PRICE

KALYAN,SAMSUNG,50000

KUMAR,SONY,40000

];

Not applicable
Author

Thank you Toni kautto, this is my data.pls tell me how to use qvuser function according to my data.

SECTION Access;

ACCESS:

LOAD * Inline [

ACESS,USERID,PRODUCT

ADMIN,MADHU,*

USER,KALYAN,SAMSUNG

USER,KUMAR,SONY

];

SECTION Application;

LOAD * Inline [

USERID,CH01,CH02

MADHU,1,1

KALYAN,1,0

KUMAR,0,1

];

LOAD * Inline [

USERID,PRODUCT,PRICE

KALYAN,SAMSUNG,50000

KUMAR,SONY,40000

];

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

as I said earlier, you need to use this function on front end (on Sheet)

Using the Text Object.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
ToniKautto
Employee
Employee

QVUser() is not a script function. It will tell you the current user based on your section access, hence this is first after a user has successfully logged in.