Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

function osuser

OSUser () Returns a string containing the name of the current user returned by the operating system.

Is there way to set the value returned by this function

5 Replies
prieper
Master II
Master II

Not directly - you need to login as different user / different identity.

HTH
Peter

Not applicable
Author

I create in my application access section for it to be protected on offline after downloaded from accespoint.
But I do not know before the list of users with their names and their hostname (value returned by OSuser), so I would like set this value

erichshiino
Partner - Master
Partner - Master

In which condition would you like to force the OSUser?

Can't you work with usernames and passwords?

Hope it helps,

Erich

Not applicable
Author

thanks for your reply
I must create a section in an application for secure both the access to accespoint and utlisation locally. I have to use NTName to avoid my client enter twice the password: one for access to the portal and the second to open the application.

erichshiino
Partner - Master
Partner - Master

Can you create a combination of osuser and password?

If the user open it on server, it will check the osuser() and open it.

If someone copies the app and try to open with the same osuser() it open.

If it's another machine, I will ask for the password.