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