65.9K
CodeProject is changing. Read more.
Home

How to enable "Sign in as different user" option in SharePoint 2013

starIconstarIconstarIconstarIcon
emptyStarIcon
starIcon

4.83/5 (3 votes)

Nov 19, 2013

CPOL
viewsIcon

49978

Following the below mentioned steps you can enable this option in SharePoint 2013.

Problem

By default in SharePoint 2013 there is no option for "Sign in as different user".

Following the below mentioned steps you can enable this option in SharePoint 2013.

Solution

Step: 1

Go to the location C:\Program Files\Common Files\microsoft shared\Web ServerExtensions\15\TEMPLATE\CONTROLTEMPLATES.

Here we have a file named welcome.ascx.

We need to edit this file to enable the option.

Step: 2

Open welcome.ascx in Visual Studio or in Notepad and add the following code and save:

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

And it should be above the tag which has ID_RequestAcess.

Step: 3

Refresh the site, and it's been enabled:

 

Summary

In this article I have tried to explain how to enable the “Sign in as different user” option in SharePoint 2013.