Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Impersonating a user

Hi,

On my document there are 2 types of users-normal and admin. On the system however if a user (super user) with a certain email address i.e @company.com logs in they have the ability to enter a user ID (normal user id), which then impersonates this normal user and gives the super user access to the normal users document- they see that users account.

This works fine however if the super user impersonating the normal user is viewing the document at the same time as the normal user-one of them gets a session timeout and gets kicked out of the document.

I have attempted making this super user into a secondary admin user-they are still able to log on however the session timeout still occurs.

Is there any way in which this can be done so that they can both view the document at the same time? Should my secondary admin user not work?

I am running Qlikview 9 SR5.

I would appreciate any help as I am completely stuck on this problem,
Thanks in advance,
mckay9999

3 Replies
Not applicable
Author

why not create a user in section access that can view all user views.

> user, Business View

John, Finance

Peter, Finance

Sally, Sales

Admin, Finance

Admin, Sales

Not applicable
Author

Thanks for the reply.

As far as I understand this is what I have been doing. I have created these users as follows:


LOAD
distinct
'admin1'
as Q4C_SECURITY.USERID,
'password'
as Q4C_SECURITY.PASSWORD,
'ADMIN'
as Q4C_SECURITY.ACCESS,
ID
as Q4C_SECURITY.ID
FROM
$(Data_Path)ID.qvd (qvd);
concatenate
(Q4C_SECURITY)
LOAD
distinct
'Admin2'
as Q4C_SECURITY.USERID,
'password'
as Q4C_SECURITY.PASSWORD,
'ADMIN'
as Q4C_SECURITY.ACCESS,
ID
as Q4C_SECURITY.ID
FROM
$(Data_Path)ID.qvd (qvd);


Is this not the right way to do it?



Not applicable
Author

this is what i do.

Section Access;

LOAD * INLINE [

ACCESS, NTNAME, SECTION

USER,ABC, FINANCE

USER,CDE, SALES

ADMIN,ADMIN,*

];

Section Application;