Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
When we implement section access, is there any way I can get QVUser() in script?
What are you trying to achieve here?
QVUser() is only set if you are using section access with USER/PASSWORD login. Otherwise, OSUser() can be used. In script, get the values like this:
Let vUser = QVUser();
or
Let vUser = OsUser();
Then use the string variable vUser as required.
When you reload on the server, calling OSUser() in the script will return the service account.
Not very useful if you ask me
The only way is QVUser() in script you can get this or in table if you required then try this you get names in any table field
Let vUserType = QVUser();
UserNames:
Load * Inline
[
UserNames
'$(vUserType )'
];