SharePoint Developer Support Team Blog

The Official blog of the SharePoint Developer Support Team

Browse by Tags

Tagged Content List
  • Blog Post: Using SPSite and SPWeb objects with RunWithElevatedPrivileges: Don’t cross the borders

    This blog post is a contribution from David Wilborn, an engineer with the SharePoint Developer Support team. Although it’s mentioned in the SPSecurity.RunWithElevatedPrivileges documentation , I find that there is still often a lack of clarity for developers when using SPSite and SPWeb objects in conjunction...
  • Blog Post: RunWithElevatedPrivileges does not work with UserProfile API

    This blog post is a contribution from Aaron Miao, an engineer with the SharePoint Developer Support team. RunWithElevatedPrivileges executes the specified method with Full Control rights even if the user does not otherwise have Full Control. This is not true for User Profile API. To reproduce, with code...
Page 1 of 1 (2 items)