Thursday, September 5, 2013

SP2013 Security: Sign in as different user

You might have already noticed that "Sign in as different user" by default does not show in a new installation of SharePoint 2013, here is what you can do to bring it back:
On your server machine, navigate to the following location:

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

and look for the filename "Welcome.ascx". Open it with your preferred text editor, and under your FeatureMenuTemplate Tag, add the following snippet:

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

No comments: