5 references to Impersonate
mscorlib (2)
system\security\accesscontrol\privilege.cs (1)
257
TokenAccessLevels.
Impersonate
| TokenAccessLevels.Query | TokenAccessLevels.AdjustPrivileges,
system\security\principal\tokenaccesslevels.cs (1)
33
Impersonate
|
System.IdentityModel (1)
System\IdentityModel\Privilege.cs (1)
139
TokenAccessLevels.
Impersonate
| TokenAccessLevels.Query | TokenAccessLevels.AdjustPrivileges,
System.ServiceModel (1)
System\ServiceModel\Dispatcher\SecurityImpersonationBehavior.cs (1)
493
if (!SafeNativeMethods.OpenCurrentThreadToken(threadHandle, TokenAccessLevels.
Impersonate
, true, out tokenHandle))
System.ServiceModel.Activation (1)
System\ServiceModel\Activation\HostedImpersonationContext.cs (1)
38
bool isSuccess = SafeNativeMethods.OpenCurrentThreadTokenCritical(TokenAccessLevels.Query | TokenAccessLevels.
Impersonate
,