Thursday, November 8, 2012

Sharepoint 2013 - "Sign in as different user" missing

In the (old) Sharepoint 2010 there was a very useful feature in user's menu: "Sign in a Different User". Even though, business users have no need for this feature, it is essential for developers and testers.




That feature isn't there anymore in the Sharepoint 2013.

 


But, it can be added, as Nick Grattan showed in his blog.


Locate the file \15\TEMPLATE\CONTROLTEMPLATES\Welcome.ascx and open in a text editor.
Add the following element before the existing element with the id of “ID_RequestAccess”:



<SharePoint:MenuItemTemplate runat="server" ID="ID_LoginAsDifferentUser"
Text="<%$Resources:wss,personalactions_loginasdifferentuser%>"
Description="<%$Resources:wss,personalactions_loginasdifferentuserdescription%>"
MenuGroupId="100"
Sequence="100"
UseShortId="true"
/>
 

Save the file.
Now, the menu item shall be displayed:



No comments:

Post a Comment