SharePoint 2013, Sign in different user

SharePoint 2013, Sign in different user

  1. Start your browser as a different user
  2. Use the _layouts/closeConnection.aspx?loginasanotheruser=true page
  3. Edit the Welcome.aspx to include the link again (Sign in as Different User and SharePoint 2013)
  4. Use JavaScript as a Bookmarklet (SharePoint 2013 – Sign in as Another User)


problems with sign in different user functionality

  • • Caching problems
  • • Documents opened in external applications are saved with an unexpected user account
  • • Right after user logs in with a different account, the page content shows information from the previous account and the cookies are not properly cleared




Solution 1

  1. Locate the file \15\TEMPLATE\CONTROLTEMPLATES\Welcome.ascx and open in a text editor.
  2. 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"/>

  1. Save the file.


Solution 2

Navigate to the close connection page url

http://<site URL>/_layouts/closeConnection.aspx?loginasanotheruser=true
custom action solution
Join the discussion


Instagram has returned empty data. Please authorize your Instagram account in the plugin settings .

Please note

This is a widgetized sidebar area and you can place any widget here, as you would with the classic WordPress sidebar.