HighTechTalks DotNet Forums  

Running a script as a different user

Dotnet VSA microsoft.public.dotnet.vsa


Discuss Running a script as a different user in the Dotnet VSA forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Mike
 
Posts: n/a

Default 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



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.