Impersonation with C#

  • Thread starter Thread starter Kondapanaidu
  • Start date Start date
K

Kondapanaidu

Hi,

I am using .NET1.1 with WIN2K Professional.

I am struck with a big problem.
I need sme help.

I am doing the test automation.

Once I execute my exe I am adding One person as administrator(AAA) to my
local system
and restart my machine.

I login in to AAA and Installing one package into this User.
In this case I need to degrade the same administrator(AAA) to normal
User.

I again restart my machine..

In this scenario I login into normal user and UnInstalling the same
package.(Of course the package is not UnInstalled).

In this I need to Upgrade the same normal user(AAA) into Administrator.

Then the problems comes here..

How to do the Impersonation with C#.

Please help me in this scenario or atleast give your valuable solutions
to solve this problem.

Thanks in advance.

regards
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top