Application.currentuser is what I am talking about and you do not have to log out then back in to set it.
The very first scripts that I provided change the application.currentuser programmatically, as stated the only problem I am having with the script is that it actually clears the initial currentuser when the database opens and I don't want it cleared.
Try the scripts that I provided in my original post and you will see that they work.
The very first scripts that I provided change the application.currentuser programmatically, as stated the only problem I am having with the script is that it actually clears the initial currentuser when the database opens and I don't want it cleared.
Try the scripts that I provided in my original post and you will see that they work.