1) User 1 logs in with admin rights and opens up form1
2) Lock Screen happens due to timeout or pushing F11
3) User 2 logs in with lower rights than User 1
4) Here I want to close form1 so that User 2 has a fresh start with no open screens.
Question:
Is there a way to temporarily provide admin or the last users rights so that open forms can be closed programatically and then return to using User 2's rights? Cory Cookson
Software Developer
Occupational Health Research
I am making sure that the first user has saved or reloaded all data that they are working on before they are logged out.
I've tried recalling LockSession in the afterSessionLock event and it just brings up the login form again.
I want to close the open forms without the second user even knowing they were open.
There are however times that another person will login with equivelant rights and they should be able to see all of the screens that were left open by the first user.
As always any help is appreciated Cory Cookson