zoukankan      html  css  js  c++  java
  • SharePoint 2013 启用 以其他用户身份登陆(Sign in as different user)

    习惯于SharePoint 2010的用户会发现,SharePoint 2013默认把  以其他用户身份登陆(Sign in as different user)的选项去掉了,这对于开发人员来说很麻烦,尤其是需要平凡切换用户来进行测试。幸运的是,修改相关的文件,就可把 以其他用户身份登陆(Sign in as different user)这个选项开启。

    解决步骤

    • 进入(C:Program FilesCommon Filesmicrosoft sharedWeb Server Extensions15TEMPLATECONTROLTEMPLATES)目录,定位到Welcome.ascx

    • 打开Welcome.ascx,将以下代码复制进去
      <SharePoint:MenuItemTemplate runat="server" ID="ID_LoginAsDifferentUser"
              Text="<%$Resources:wss,personalactions_loginasdifferentuser%>"
              Description="<%$Resources:wss,personalactions_loginasdifferentuserdescription%>"
              MenuGroupId="100"
              Sequence="100"
              UseShortId="true"
              />
    • 注意将代码负责到ID_PersonalInfomation和ID_RequestAccess之间

    • 登陆之后,查看即可使用 以其他用户身份登陆

    小结

    可能最新的SharePoint 2013 Updates会修改这个设置,但我没有验证过。我的版本为:SharePoint 2013 Foundation原始版本。

  • 相关阅读:
    概率图模型(CPD)(二)
    概率图模型(贝叶斯网络)(一)
    EM算法理论与推导
    关于无向图的最大团的问题。
    机器学习实战基础(四十二):逻辑回归之 1 概述
    条件独立性
    pl/sql的tnsnames.ora文件配置
    eclipse修改SVN账号密码
    Centos安装
    Linux虚拟机安装
  • 原文地址:https://www.cnblogs.com/OceanEyes/p/shareoint-2013-sign-in-as-different-user.html
Copyright © 2011-2022 走看看