Sign in different user issue in SharePoint 2013

  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

 

image

 

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 
<a title="http://www.kaboodlekonnect.com/free/alt-login" href="http://www.kaboodlekonnect.com/free/alt-login">http://www.kaboodlekonnect.com/free/alt-login</a>

It\'s only fair to share...Digg thisBuffer this pageShare on Facebook0Share on Google+0Tweet about this on TwitterShare on LinkedIn0Pin on Pinterest0Share on StumbleUpon0Share on Tumblr0

Leave a Reply

Your email address will not be published. Required fields are marked *