Friday, July 31, 2015

Sign in as different user in SharePoint 2013

By default in SharePoint 2013 we don't get option to sign as different user. If you want to get the same 'Sign in as different user' which was there in SharePoint 2010.



Please follow below steps to add it to SharePoint 2013.


1. Go to Control Templates folder

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\CONTROLTEMPLATES


2. Edit Welcome.ascx




3. Add below code lines at second place of MenuItemTemplate

<SharePoint:MenuItemTemplate runat="server" ID="ID_LoginAsDifferentUser"  
   Text="<%$Resources:wss,personalactions_loginasdifferentuser%>"  
   Description="<%$Resources:wss,personalactions_loginasdifferentuserdescription%>"  
   MenuGroupId="100"  
   Sequence="100"  
   UseShortId="true"  
/>




4. Now go to SharePoint site and refresh the page.






Simple!!!!!!!


2 comments:

Seven steps to build and deploy SPFX web part to SharePoint

Install Node.JS Use this link to install Node.JS https://nodejs.org/en/ 2.        Install yeomen and gulp CMD>npm install –g y...