在找了一些國外網站後,終於找到了解決方法
第一步:
找到welcome.ascx文件,在“\15\TEMPLATE\CONTROLTEMPLATES”
第二步:
添加以下代碼到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" />
如下圖所示:
第三步:
刷新您的SharePoint網站,您會發現“以其他用戶身份登錄”出現了。