HOW TO: Prevent users from pressing back button after signing out from a SharePoint site

This blog post is a contribution from Charls Tom Jacob, an engineer with the SharePoint Developer Support team. Scenario: In SharePoint, the sign out is complete only when you actually close the browser window.  As shown below, SharePoint asks you to close the browser after sign out: “You must close your browser to complete the…

2

HOW TO: Customizing SharePoint AppWeb web template

This blog post is a contribution from Mustaq Patel, an engineer with the SharePoint Developer support team. SharePoint Apps provides a great deal of flexibility and how much we can do with it. Using WebTemplate we can direct AppWeb (the SPWeb under which the App is hosted) to use any other Site Template instead of…

4

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 below in a web part: SPSecurity.RunWithElevatedPrivileges(delegate() {…

0