Top "Impersonation" questions

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

Impersonate user in codebehind

I'd like to impersonate a specific user in code to perform some file manipulation on a remote machine. The problem …

asp.net vb.net impersonation
How do I make sure that my windows impersonation level is valid?

I am dealing with a nasty issue that has me ready to tear my hair out. I have a C# …

c# visual-studio impersonation httplistener
SharePoint 2013 / IIS 7.5 Impersonation/Delegation/Double Hop

Ok, I have spent about 15 hours trying to resolve this problem and I have finally been resigned to posting here …

sharepoint iis-7.5 windows-authentication impersonation delegation
Impersonation and asynchrony in ASP.NET WebAPI

Update 2 This question originally was "Does impersonation work with Web API?" And the question to that question is "Yes, it …

.net entity-framework asp.net-web-api impersonation
Impersonation on remote service says Login failed for user 'NT Authority\Anonymous Logon'

I have a service that I want to when accessing databases I want to access databases to use the calling …

c# sql-server impersonation windows-identity
Why do Thread.CurrentPrincipal.Identity and WindowsIdentity.GetCurrent() differ when impersonation is turned on?

I enabled impersonation and Windows authentication. <authentication mode="Windows" /> <identity impersonate="true" userName="name" password="passord"/> …

asp.net security impersonation windows-identity current-principal
Get impersonated user name

I have a class that needs to know name of a user currently in effect. Environment.UserName or WindowsIdentity.GetCurrent().…

.net impersonation