Top "Impersonation" questions

Impersonation is a process whereby an application assumes another identity or security context during execution.

Why doesn't LogonUser(...) work for domain accounts?

I've been trying to use LogonUser(...) to get an access token for a user account, as in this MSDN sample. // …

windows security winapi active-directory impersonation
How to Impersonate a user in managed code?

Given a username and password how do i impersonate that user and run some code as that user. And by …

.net impersonation
Process.Start() impersonation problem

Trying to start process with another access token, without success, it runs as the non-impersonated user. using (WindowsIdentity identity = new …

c# .net process impersonation access-token
The account does not have permission to impersonate the requested user

I am getting this error while try to accessin the resource mailbox. pls any one help me on this . I …

c# impersonation exchangewebservices exchange-server-2007 exchange-server-2010
Can I turn off impersonation just in a couple instances

I have an app that has impersonation used throughout. But when a user is logged in as an admin, a …

c# asp.net impersonation
get Current user context

I've got problems with running a powershellscript from different locations (c# application, webservice...). I think it is a user context …

powershell powershell-2.0 impersonation
Starting remote Windows services with ServiceController and impersonation

I have a .NET MVC3 application that needs to be able to turn a remote service on and off. In …

.net windows-services impersonation servicecontroller
LogonUser, LOGON32_LOGON_INTERACTIVE and LOGON32_LOGON_NETWORK

Can anyone provide a clear explanation of the difference between LOGON32__LOGON_INTERACTIVE and LOGON32_LOGON_NETWORK when used with …

winapi impersonation
Can I use token based authentication with active directory?

I want to be able to securely logon to a system without having to type in username password from a …

c# .net active-directory impersonation
How do I configure IIS so that the user's domain credentials are used when connecting to SQL server?

We've recently released the latest version of our intranet application, which now uses windows authentication as standard, and needs to …

asp.net impersonation kerberos delegation