is it possible to run a command as another user

  • Thread starter Thread starter Bruno van Dooren
  • Start date Start date
B

Bruno van Dooren

Hi,

i have an application where i want to execute a shell command as another
user.
we can call a native command to execute a batch file, but we want to use the
..NET framework for that.

i searched in the MSDN, but i could not find the answer.
does anyone know if this is possible.

kind regards,
Bruno.
 
check out "WindowsIdentity.Impersonate"
I have never used it before, but i have read into it...might be what you are
looking for

Jason
 
Back
Top