ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

5
Date Submitted Fri. Jan. 26th, 2007 1:54 AM
Revision 1
Scripter i_kenneth
Tags "CSharp" | "impersonation" | "security"
Comments 0 comments
With this simple class you can run som code with others user accounts.
How to use:

// ...some code
using(Impersonator user = new Impersonator("domain", "user", "pswd"))
{
// This run with new credentials.
}
// ... more code