更多内容请前往掘金,欢迎来指导学习:
https://juejin.im/post/5d648a0851882566ce359df0
1. 打开Welcome.ascx文件:C:Program FilesCommon FilesMicrosoft SharedWeb Server Extensions15TEMPLATECONTROLTEMPLATES
2. 复制如下代码到指定的位置</SharePointFeatureMeneTemplete>的上面:
1 <SharePoint:MenuItemTemplate runat="server" ID="ID_LoginAsDifferentUser" 2 Text="<%$Resources:wss,personalactions_loginasdifferentuser%>" 3 Description="<%$Resources:wss,personalactions_loginasdifferentuserdescription%>" 4 MenuGroupId="100" 5 Sequence="100" 6 UseShortId="true" 7 />
3. 修改后如下图:
4. 保存,刷新页面,效果如下: