Another Option for Missing “Sign in as Different User” link in SharePoint 2013


In SharePoint 2010, there was a wonderful option called “Sign in as Different User” that would allow you to quickly, easily and painlessly switch user accounts in the browser without losing your place on a site. This worked wonderfully for developers and for Admins where they have multiple IDs. However, it confused the average user and generated support calls because it would break other Office functionality so Microsoft removed it from the interface. They did not remove the functionality from SharePoint though it is entirely possible (read: likely) that they will do so in the next version.

Microsoft has documented a few relatively simple ways around this but I was looking for something a little faster and that was as easy as it was in SharePoint 2010. To that end, I took the second option in their recommendation and tweaked it a little bit.

This solution is intended for developers and administrators only as they generally have the technical depth to understand the ramifications of processes running under different IDs. If you need a solution to this for your whole user base, then you will need to look at the third option in Microsoft’s note above.

Ok, with that out of the way, the “fix” was merely a little extra javascript in a bookmark. In my case, I added a bookmark to my browser bar, edited it and replaced the URL with the script below. Naturally the steps for this vary with the browser but most at least start the process with a right-click on any web page.

javascript:void(window.location.href='/_layouts/closeConnection.aspx?loginasanotheruser=true&Source=' + encodeURIComponent(window.location.href));

This walks through the same logout/login mechanism that was in SharePoint 2010 and, best of all, bounces you right back to the page you were on but now as the new user identity. It is even one click faster than the same process in 2010 :)

About these ads

Posted on February 18, 2013, in SharePoint and tagged , . Bookmark the permalink. 2 Comments.

  1. I’m curious to find out what blog platform you are using? I’m experiencing some
    small security problems with my latest site and I would like to find something more risk-free.

    Do you have any solutions?

    • This blog is hosted on WordPress.com and uses the hosted variant of the WordPress code which does have some limitations but I’ve found them livable. They handle all of the security, scaling, load balancing and backups for me. However, if you want full control, wordpress.org lets you download the source and install it on your own server.

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 136 other followers