February 27, 2014

Sign in as Different User in SharePoint 2013

Hello,

This is my first post for SharePoint 2013, it is good to be migrate to SharePoint 2013, but some features are missing such as “Sign in as a Different User” menu command.



Many of us are missing this while testing any application,

You can add the menu item back in, but I would suggest only doing this on test or development SharePoint servers. To do this, repeat this edit on all servers in your SharePoint farm

  • 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="&lt;%$Resources:wss,personalactions_loginasdifferentuser%>"
 Description="&lt;%$Resources:wss,personalactions_loginasdifferentuserdescription%>"
 MenuGroupId="100"
 Sequence="100"
 UseShortId="true"  />
  • Save the file.
Now, the menu item shall be displayed:




But it is recommended not to change in any ascx in 14/15 hive.