Enable “Sign In As Different User” In Sharepoint 2013/2016

In this article, we will learn how to sign in as a different user in Sharepoint without closing the browser or clearing the cache. As it becomes an issue while we are checking some functionality, we need to login with different user account again and again.

  1. Screenshot before starting the configuration.


  2. Open this below given path and open the file named Welcome.aspx in Visual Studio or Notepad ++,

    C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\CONTROLTEMPLATES


  3. Copy and paste this code snippet, as shown in the screenshot below, and save the file.
    1. <SharePoint:MenuItemTemplate runat="server" ID="ID_LoginAsDifferentUser"  
    2. Text ="<%$Resources:wss,personalactions_loginasdifferentuser%>"  
    3. Description="<%$Resources:wss,personalactions_loginasdifferentuserdescription%>"  
    4. MenuGroupId="100"  
    5. Sequence="100"  
    6. UseShortId="true"/> 

  4. Refresh your SharePoint site and see the desired changes.


  5. Clicking on "Sign in as Different User" will give you  a credentials pop-up. Login with the desired account.