How to enable landing as a different user in SharePoint 2013

Source: Internet
Author: User
Tags log

Users who are accustomed to SharePoint 2010 will find that SharePoint 2013, by default, removes the option to log on as another user (Sign in as different user), which can be cumbersome for developers, especially if you need to switch users to test. Fortunately, by modifying the relevant files, you can turn on the option to log in as a different user (Sign in as different user).

Resolution Steps

Enter (C:\Program files\common files\microsoft Shared\Web Server Extensions\15\template\controltemplates) directory, Locate to Welcome.ascx

Open Welcome.ascx and copy the following code in

<sharepoint:menuitemtemplate runat= "Server" id= "Id_loginasdifferentuser
          text=" <% $Resources: WSS, Personalactions_loginasdifferentuser%> "
          description=" <% $Resources: Wss,personalactions_ Loginasdifferentuserdescription%> "
          menugroupid=" "
          sequence="
          useshortid= "true"
           />

Note that the code is responsible for between Id_personalinfomation and Id_requestaccess.

After landing, view can be used as another user login

Perhaps the latest SharePoint 2013 updates will modify this setting, but I have not verified it. My version is: SharePoint 2013 Foundation original version.

Summary

Author: cnblogs Wood Wancheng Master

See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/web/sharepoint/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.