Login as another user

Hello everyone,

For developers, it is often useful to change the user account (for testing rights or other). However the option to log in as another user was removed from the interface of SharePoint 2013.

The reason being (for what I have read on the net) it does not work 100% (login used in office documents for example …)

But this is not the reason for this article, this article is just to show to developers how to easily switch users.

To do this, simply go to the application page “CloseConnection.aspx” and pass the parameter “loginasanotheruser” to true.

In summary, you must go to the url

http://serverurl/_layouts/closeConnection.aspx?loginasanotheruser=true

And here is the connection pop-up .

Hope this helps!

Christopher.

Advertisements
This entry was posted in SharePoint 2013 and tagged . Bookmark the permalink.

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