SharePoint 2013 has been out for almost six months already. Many of us didn’t even have the time to learn everything there is to know about SharePoint 2010 (if that’s even possible) much less begin digesting what 2013 has to offer.
As a SharePoint Administrator, I was sad to see that one of my most used features was no longer available, out-of-box. This is the option to Sign-In as a Different User. Often times, during any troubleshooting, we need the ability to quickly log off an admin user and login with a different user for various testing purposes. For example – testing specific permission levels for sites. You must login with your admin user to grant the user permissions to SharePoint, then sign in as that newly created user to test if the appropriate permissions are correct. Below is an example of what the user drop-down menu looks like on a fresh installation:
Microsoft has removed this feature, and it is actually for good reason. The biggest reason in my opinion is browser caching. How many of us actually Sign Out of SharePoint when we are done using it? I know I don’t. If a user does not sign out and they are using a shared computer, another user could browse to the site and be logged in as the previous user automatically. I don’t think I need to explain why that would be an issue. So, although I’m not a fan of not having the option readily available, I do understand the reasoning. Now, for the good news! With a few short configuration steps, we can get this option back.
Follow these steps to enable the “Sign in as Different User” option:
1. Browse to the following location: C:Program FilesCommon FilesMicrosoft SharedWeb Server Extensions15TEMPLATECONTROL TEMPLATES 2. Open welcome.aspx using Notepad (or any text editor). 3. Paste the highlighted code below the “personalactions_logout” portion as shown in the screenshot below:
<SharePoint:MenuItemTemplate runat="server" id="ID_LoginAsDifferentUser" Text="<%$Resources:wss,personalactions_loginasdifferentuser%>" Description="<%$Resources:wss,personalactions_loginasdifferentuserdescription%>" MenuGroupId="100" Sequence="100" UseShortId="true" />
4. Save and Close welcome.aspx.
5. Refresh the browser And there you have it, you should now see the Sign in as Different User option.
Please Note: This is a farm wide setting and will add this option for all users. Not all companies will accept/allow this option to be available. Please also keep in mind that while using the Sign in as Different User option, there could still be data out there from any previous users. The best option is still to sign out, re-open your browser and sign back in. If your company does not allow this, or you are not comfortable performing these steps, there is a method that you can use on a per need basis.
Enabling SharePoint”Sign in as Different User” As Needed:
1. Open Internet Explorer using the Run as Different User option. To do this, simply right-click your Internet Explorer from the Start page and select Run as Different User. (If using Windows 2008 – right-click your Internet Explorer icon while holding down your left-shift key on your keyboard. Select Run as Different User).
Windows Server 2012:
Windows Server 2008 R2:
2. This will bring up a login window. Enter the credentials you would like to use and select OK.
3. Browse to your SharePoint site and login with same credentials from Step 2. 4. That’s it! You are now logged in with a different user account. Although the second method is a bit more tedious, it is much more acceptable across the board than making a farm-wide change that affects everyone. Thanks for reading! Please feel free to comment below with any questions or issues you may have.