Wednesday, 15 October 2014

What is the use of RunWithElevatedPrivileges in Sharepoint


There are certain object model calls model that require site-administration privileges. To bypass access-denied error, we use RunWithElevatedPrivileges property when request is initiated by a Nonprivileged user. We can successfully make calls into the object model by calling the RunWithElevatedPrivileges method provided by the SPSecurity class.

No comments:

Post a Comment