Wednesday 25 March 2015

SharePoint 2013: How to get 'Sign in as Different User' option?

The 'Sign in as Different User' has been removed by default, but it can be easily added.

There are a three options to do it:

1. Open your IE browser by pressing shift key and right clicking on it and select 'as another user'.
2. Navigate to the url <http://mysite>/_layouts/closeConnection.aspx?loginasanotheruser=true
3. Perform the following steps to add it to the user menu:

a      Locate and then open the following file in a text editor: C:\Program Files\Common Files\Microsoft Shared\Web Server
Extensions\15\TEMPLATE\CONTROLTEMPLATES\Welcome.ascx

b.      Add the following element before the existing "ID_RequestAccess" element:
<SharePoint:MenuItemTemplate runat="server" ID="ID_LoginAsDifferentUser" Text="<%$Resources:wss,personalactions_loginasdifferentuser%>" Description="<%$Resources:wss,personalactions_loginasdifferentuserdescription%>" MenuGroupId="100" Sequence="100" UseShortId="true" />

c.      Save the file.

No comments:

Post a Comment