SPC020221: Do not nest calls to RunWithElevatedPrivileges

Do not call RunWithElevatedPrivileges inside a existing RunWithElevatedPrivileges.

TypeName: DoNotNestCallsToRunWithElevatedPrivileges
CheckId: SPC020221
Severity: CriticalWarning
Type: AssemblyFileReference
Resolution

Remove unneeded calls to RunWithElevatedPrivileges inside RunWithElevatedPrivileges.

Links

comments powered by Disqus