23 references to Impersonate
System (9)
net\System\Net\_AutoWebProxyScriptEngine.cs (5)
485
using (m_Identity.
Impersonate
())
505
using (m_Identity.
Impersonate
())
574
using (m_Identity.
Impersonate
())
608
using (m_Identity.
Impersonate
())
643
using (m_Identity.
Impersonate
())
net\System\Net\_NTAuthentication.cs (1)
395
IDisposable ctx = w == null ? null : w.
Impersonate
();
net\System\Net\mail\smtpconnection.cs (1)
490
IDisposable ctx = w == null ? null : w.
Impersonate
();
net\System\Net\WebRequest.cs (2)
881
using (currentUser.
Impersonate
())
918
using (currentUser.
Impersonate
())
System.Data (2)
fx\src\data\System\Data\SqlClient\SqlConnection.cs (1)
1534
using (WindowsImpersonationContext context = _impersonateIdentity.
Impersonate
()) {
fx\src\data\System\Data\SqlClient\SqlDependencyListener.cs (1)
634
context = _windowsIdentity.
Impersonate
();
System.Runtime.Remoting (1)
channels\tcp\tcpserverchannel.cs (1)
571
context = identity.
Impersonate
();
System.ServiceModel (5)
System\ServiceModel\Channels\FramingChannels.cs (1)
1293
WindowsImpersonationContext impersonationContext = (this.identityToImpersonate == null) ? null : this.identityToImpersonate.
Impersonate
();
System\ServiceModel\ComIntegration\ComPlusInstanceProvider.cs (1)
63
impersonateContext = callerIdentity.
Impersonate
();
System\ServiceModel\ComIntegration\ComPlusThreadInitializer.cs (1)
198
impersonateContext = identity.
Impersonate
();
System\ServiceModel\Dispatcher\SecurityImpersonationBehavior.cs (2)
227
impersonationContext = impersonationToken.
Impersonate
();
241
impersonationContext = windowsIdentity.
Impersonate
();
System.ServiceModel.Routing (1)
System\ServiceModel\Routing\MessageRpc.cs (1)
255
this.impersonation = messageRpc.windowsIdentity.
Impersonate
();
System.Web (5)
Configuration\RemoteWebConfigurationHost.cs (3)
86
WindowsImpersonationContext wiContext = (_Identity != null) ? _Identity.
Impersonate
() : null;
213
wiContext = _Identity.
Impersonate
();
354
wiContext = _Identity.
Impersonate
();
Configuration\RemoteWebConfigurationHostStream.cs (2)
60
wiContext = _Identity.
Impersonate
();
200
wiContext = _Identity.
Impersonate
();