Friday, August 14, 2015

How to Enable “sign in different user” in SharePoint Site



By default SharePoint 2013 site “sign in different user” choice does not show. Today, I will explain how to enable Sign in Different User in SharePoint 2013. First step, you need to go to:

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\CONTROLTEMPLATES
And then, open the Welcome.ascx in Visual Studio or Notepad shown on the below picture:
 
Now write the following code and save the file:

<SharePoint:MenuItemTemplate runat="server" ID="ID_LoginAsDifferentUser" 
   Text="<%$Resources:wss,personalactions_loginasdifferentuser%>" 
   Description="<%$Resources:wss,personalactions_loginasdifferentuserdescription%>" 
   MenuGroupId="100" 
   Sequence="100" 
   UseShortId="true" 
/>
 
Next step, go to the SharePoint Site and refresh the page looks like on the below picture:
 

I hope it works for you!
 

No comments:

Post a Comment