修改sharepoint 服务器上下面路径中的Welcome.ascx文件:
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\CONTROLTEMPLATES
增加一段代码如下:
<SharePoint:MenuItemTemplate runat="server" ID="ID_LoginAsDifferentUser"
Text="<%$Resources:wss,personalactions_loginasdifferentuser%>"
Description="<%$Resources:wss,personalactions_loginasdifferentuserdescription%>"
MenuGroupId="100"
Sequence="100"
UseShortId="true"
/>
这段代码添加在下面标记之前:
</SharePoint:FeatureMenuTemplate>
</CustomTemplate>
时间: 2024-11-12 10:01:07