SPC020206: Avoid usage of 'RunWithElevatedPrivileges'

The assembly should not call Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges to run code with higher permissions.

TypeName: AvoidCallToRunWithElevatedPrivileges
CheckId: SPC020206
Severity: CriticalWarning
Type: AssemblyFileReference
Resolution

Avoid usage of RunWithElevatedPrivileges. Retrieving higher permissions to run code should be avoided.

Links

comments powered by Disqus