Wednesday 10 April 2013

Adding a "sign in with a different user" link in SharePoint 2013

If, like me you're getting highly annoyed with having to close and reopen your browser while testing using different​ levels of access. You can manually add the "Sign in as a different user" link by adding the following element before the ID_RequestQccess element in the Welcome.ascx file found in \15\TEMPLATE\CONTROLTEMPLATES\
 
<SharePoint:MenuItemTemplate runat="server" ID="ID_LoginAsDifferentUser"
 Text="<%$Resources:wss,personalactions_loginasdifferentuser%>"
 Description="<%$Resources:wss,personalactions_loginasdifferentuserdescription%>"
 MenuGroupId="100"
 Sequence="100"
 UseShortId="true"
 />
 
You will now have a new menu item created.
 
 
  
You're welcome! :)
 
 

No comments:

Post a Comment