Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Well, I have a .qvw, which has access control, each User enter your login and password, and only have access to their data, so far OK, my problem is that I have multiple folders, and only need to enable some folders. I saw it in the folder properties, there is a field to put a condition to enable the folder, I thought of putting any conditions on this site, but I can not think of a condition.
Can anyone help me?
Hi Evelyn,
a condition could be:
QVUSER() = 'rainer'
as example. QVUSER() is a system function.
Hope this helps!
Rainer
Hi Evelyn,
a condition could be:
QVUSER() = 'rainer'
as example. QVUSER() is a system function.
Hope this helps!
Rainer
Section Access;
LOAD * INLINE [
ACCESS, USERID, PASSWORD, ACESSO
ADMIN, TODOS, TODOS, ADMINISTRADOR
USER, REPSP, REPSP, GRUPO1
USER, REPREGSUL, REPREGSUL, GRUPO2
USER, REPNORD, REPNORD, GRUPO4
USER, REPRJ, REPRJ, GRUPO7
USER, REPNORTE, REPNORTE, GRUPO9
];
Hi Evelyn, I did somothing similar time ago ... here is my solution:
In the Section Access:
Load * Inline [
ACCESS, USERID, GROUP
ADMIN, USER1, ALL
USER, USER2, G1
USER, USER2, G2
];
In the section application:
Load * Inline [
GROUP, Value
ALL, TAB1-TAB2-TAB3,TAB4
G1, TAB1-TAB4
G2, TAB1-TAB2
];
and each sheet properties, in Show Sheet - Conditional, I wrote the following instruction, by example:
index(Value,'Tab1') > 0
Thank you staff.
I ended up using the first form (QvUser () = 'Admin').
Used this condition in the folders that users do not have permission.
Tks