Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SPSecurity.CodeToRunElevated delegate
Collapse the table of content
Expand the table of content

SPSecurity.CodeToRunElevated delegate

Represents a delegate method that can be executed by the RunWithElevatedPrivileges method.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public delegate void CodeToRunElevated()

The delegate method runs under the account that is used by the application pool identity. This gives the delegate site collection administrator privileges on all site collections hosted by the application pool.

© 2015 Microsoft