Click here to Skip to main content
15,867,568 members
Articles / Operating Systems / Windows
Tip/Trick

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

Rate me:
Please Sign up or sign in to vote.
4.83/5 (3 votes)
19 Nov 2013CPOL 49.1K   2   4
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".

Image 1

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.

Image 2

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:

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

Image 3

And it should be above the tag which has ID_RequestAcess.

Step: 3

Refresh the site, and it's been enabled:

Image 4 

Summary

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

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) EY
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
SuggestionAnother option is using CustomAction PinPopular
tyaramis19-Nov-13 21:01
tyaramis19-Nov-13 21:01 
GeneralRe: Another option is using CustomAction Pin
shijuse20-Nov-13 18:58
professionalshijuse20-Nov-13 18:58 
GeneralRe: Another option is using CustomAction Pin
kingsa14-Oct-14 21:15
kingsa14-Oct-14 21:15 
GeneralRe: Another option is using CustomAction Pin
shijuse16-Oct-14 4:07
professionalshijuse16-Oct-14 4:07 
Hi
Please see the step-1 ,there you can see the welcome file. Open this file with notepad or visual studio and edit with given code.

Thanx

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.