public static class SecurityUtils : object
| Member | Description | |
|---|---|---|
![]() ![]() |
ImpersonateUser | Logs on a user and changes the current process impersonation to that user. public static WindowsImpersonationContext ImpersonateUser(string username,
string password, string domain); |
![]() ![]() |
RevertImpersonation | Releases an impersonation context and releases associated resources public static void RevertImpersonation(WindowsImpersonationContext context);
|