Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
Not directly - you need to login as different user / different identity.
HTH
Peter
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
In which condition would you like to force the OSUser?
Can't you work with usernames and passwords?
Hope it helps,
Erich
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.
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.