midrange.com code scratchpad |
Name:
Switching Users
|
Scriptlanguage:
Plain Text
|
Tabwidth:
4
|
Date:
05/31/2013 06:23:38 pm
|
IP:
Logged
|
|
Description:
I used an article by Shannon to get started, but for whatever reason, I was having issues with switching back to the original user when using authorities. This is what I ended up doing. $SwitchToNetworkUser & $SwitchToOriginalUser are procedures in a service program.
I just pasted this in quick, so I didn't take out our modmarks. I didn't remove the error report stuff (though didn't provide the o-specs either, that's easy enough for you to remove or make up your own print file or o-specs.
|
Code:
|
|