SPC020204: Do not call 'WindowsIdentity.Impersonate'

The assembly should not call WindowsIdentity.Impersonate() to run code with higher permissions.

TypeName: DoNotCallWindowsIdentityImpersonate
CheckId: SPC020204
Severity: CriticalWarning
Type: AssemblyFileReference
Resolution

Avoid calls to 'WindowsIdentity.Impersonate()'. Retrieving higher permissions through impersonation to run code should be avoided.

comments powered by Disqus