Uncategorized

What does RunWithElevatedPrivileges do?

SharePoint-2010

Post Views: 304  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.  

Difference between the Farm Solutions and Sandbox Solutions in SharePoint 2010?

Post Views: 726  Farm Solution: Farm solutions are hosted in IIS server (w3wp.exe) worker process. The Farm Solution deployed code can do any activity in whole SharePoint server Farm level. Once we set Sandbox solution deploy property false in visual studio, solution will be deploy automatically in SharePoint Farm Solutions. Once we deploy the Farm […]

Tech Contents © 2016
Inline
Inline