How To Enable Sign-In As Different User In SharePoint Login Menu

This is the method which is used to enable “Sign-in as Different User” in the SharePoint login menu. You need to access the Application Server and proceed with the steps given below.

  1. Go to the location C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\TEMPLATE\CONTROLTEMPLATES.



  2. Here, we have a file named welcome.ascx.



  3. Open welcome.ascx in Visual Studio or in Notepad, add the code given below and save.
    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. Done
  5. Refresh the Browser.

Output