Not sure if you’ve noticed the “sign in as a different user” is no longer available on the SharePoint 2013 drop down menu you see when you click on the logged on user account.
Not sure why, I hope it was a glitch and I sure hope the SharePoint team puts it back in the product.
As an individual who creates applications and tests applications with different login credentials not being able to sign in as a different user in SharePoint 2013 quite a setback.
In any case, there are a couple of ways you can get around this:
- Client Side Solution: Launch your web browser as another user
- Server Side Solution: Add the menu item back to SharePoint J – of course, at your own risk, if it’s your test environment, you may want to consider doing so.
Here is how:
Launch your web browser as another user:
- Create a shortcut of your browser on to your desktop. If using Internet Explorer, navigate to C:\Program Files (x86)\Internet Explorer and drag iexplore.exe to your desktop to create a shortcut
- Right click on your shortcut and rename it to something useful such as IE USERNAME. The user name would be the user name you want to test your applications with or log into SharePoint as.
- Right click on your shortcut and select properties and change the shortcut target to:
- %systemroot%\System32\runas.exe /user:user@domain “%ProgramFiles(x86)%\Internet Explorer\iexplore.exe”
- Of course change user@domain to the user you want to log into SharePoint as.
- Click OK to save
- Double click the shortcut, you’ll get a prompt. Type in your password (you won’t see anything as you type, so be careful as you type) and click Enter
- You may be prompted to authenticate to the site once more.
Add the menu item back to SharePoint
1. Navigate to the Welcome.ascx file and open it in a text editor
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\CONTROLTEMPLATES
2. Add the following snippet before this line <SharePoint:MenuItemTemplate runat=”server” id=”ID_RequestAccess”
3. Save the file
4. Close all opened SharePoint browser sessions
5. You will notice the next time you launch the site, SharePoint gives you the Working on it message and it may take up to a minute for the page to load.
6. Test by logging in as another user.
Here is a 5:17 minute video that showcases both solutions to set up signing in as a different user in SharePoint 2013.