Sign in as a Different User in #SharePoint 2013

In SharePoint 2013 you may notice the missing of Sign in as a Different User in the user info menu, this option was helpful for developers for testing purposes or for technical issues helping other users.

There are many tips for solving this problem:

  • You may first run as different user from the browser options by right click + Shift above the browser short cut.



  • You may try to edit in the Welcome.ascx file to add the command to the user menu like below:

open ” C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\CONTROLTEMPLATES\Welcome.ascx” using notepad, and add the following element before the existing “ID_RequestAccess” element:

<SharePoint:MenuItemTemplate runat=”server” ID=”ID_LoginAsDifferentUser”



MenuGroupId=”100″ Sequence=”100″ UseShortId=”true” />



You can now open your SharePoint site and see the result like below:


  • Another way is to write a custom Web Part and add a Link Button Control and write down the following code for redirecting to different user login:



Now after deploying the solution you can add the web part within your site’s default page




About Hossam Kamal

Hossam Kamal Senior SharePoint Developer with high development skills in C#, ASP.NET, SharePoint Server Technologies, jQuery, CSS, XML, O.O.D, SSRS and MS.SQL Server.
This entry was posted in SharePoint General. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s