Click here to Skip to main content
15,860,972 members
Articles / Productivity Apps and Services / Sharepoint / SharePoint 2013
Tip/Trick

Enable “Sign In As Different User” in SharePoint 2013

Rate me:
Please Sign up or sign in to vote.
5.00/5 (3 votes)
12 Nov 2014CPOL 8.6K   2  
Workaround for enabling "Sign in as different user" in SharePoint 2013

Introduction

In SharePoint 2010, there was an option available for signing as a different user. But in SharePoint 2013, that option has been removed.

Without Sign In option

I don’t know why Microsoft has removed this precious feature, but there are some workarounds to get back that feature.

Workaround 1

  • Start Internet Explorer by using the Run as different user option, and then go to the SharePoint site.
    Note: The Run as different user option is visible if you hold the Shift key when you right-click a program icon.
  • Access the SharePoint site by using the URL as <a href="http://siteremoved/_layouts/15/closeConnection.aspx?loginasanotheruser=true" rel="nofollow">http://siteurl/_layouts/15/closeConnection.aspx?loginasanotheruser=true</a>

    Important: This option uses an unsupported browser feature which is unreliable and causes other issues. Currently, this option does not work in Internet Explorer 10 and Safari.

Workaround 2

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

    There will be file called Welcome.ascx.

    WelcomeEdit

  • 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" />

    Edit Welcome.ascx

  • Once you save this file, the feature will be enabled.

    With Link

Very simple workarounds to get back this feature.

License

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


Written By
Software Developer
India India
Having 5 years of experience with IT web technologies. I have been working on C# as my back end language and HTML5, CSS3, JavaScript, jQuery as front end development in Microsoft .net environment. I am currently working in Microsoft SharePoint technology, mainly focused on Branding stuffs. Very passionate about creative front end development and eager to learn new things about it. Somewhat I am gaming freak as well, specifically I am Valve Dota 2 fan. Smile | :)

Comments and Discussions

 
-- There are no messages in this forum --