Running a script as a different user -
07-23-2003
, 11:46 AM
Anyone have any examples of how to run a script as a different user? I have
VSA working in my Windows Service, but I need the ability to be able to run
specific scripts in the context of a specified user associated with the
script. I've tried LogonUser, but it just doesn't seem to want to work with
VB for some reason.
So anyone have any ideas/tips/examples that would work for this situation?
When a script it setup, we'll have the necessary UserName / Password stored
to use later, FWIW.
Thanks,
Michael |