Logging in as a different user in SharePoint 2013 Preview


When you start to play with SharePoint 2013 preview you will soon find that our good ol' 'Sign in as a different user' is gone:

Not sure why they have removed it. As there are some issues with this (even in 2010), I think it might be done because of that, but for most people this will be missed.
Luckily this is only a cosmetic change, as the plumbing is still there.

There are three ways of doing this:

  1. Just add the following to the url: /_layouts/closeConnection.aspx?loginasanotheruser=true
  2. Start your browser as another user
  3. Hack welcome.ascx by adding the code below before the SharePoint:MenuItemTemplate tag with id ID_RequestAccess
    (http://nickgrattan.wordpress.com/2012/07/23/sign-in-as-different-user-and-sharepoint-2013/ )

    <SharePoint:MenuItemTemplate runat="server" ID="ID_LoginAsDifferentUser"
    Text="<%$Resources:wss,personalactions_loginasdifferentuser%>"
    Description="<%$Resources:wss,personalactions_loginasdifferentuserdescription%>"
    MenuGroupId="100"
    Sequence="100"
    UseShortId="true"
    />

Obviously modifying control templates is not something we should be doing once the product goes RTM. Lets hope product group decides to put everything back where it belongs J

Comments (4)

  1. Anonymous says:

    That's cool..Thanks for sharing.. a lot changes in SP2013

  2. Rune Mariboe says:

    Don't forget the JavaScript bookmarklet approach 🙂

    corypeters.net/…/sharepoint-2013-sign-in-as-another-user

  3. Chandrakant says:

    Very nice.

  4. Hitesh says:

    Very good now can login as different user. Thanks !

Skip to main content