user logging in = user1
Script 1 is compiled (to hide admin username and password for user2)
Script 1 uses RunAsWait to run Script 2 as user2 (because user 2 has admin where user1 doesn't)
Script 2 has code that relies on @UserName
My problem is, I want @Username to be for user1, and not user2. Yes I understand it is working by design because script2 is being run as user2 so obviously the @Username would be user2.
I'm asking, is there any workaround to get the ACTUAL user logging in