网站设置页面上的SharePoint自定义操作
我在SharePoint网站的“网站设置”页面上有一个自定义操作,该页面显示在UsersAndPermissions列表中。它是使用功能创建的,这是该功能的elements.xml文件:网站设置页面上的SharePoint自定义操作,sharepoint,sharepoint-2007,custom-action,Sharepoint,Sharepoint 2007,Custom Action,我在SharePoint网站的“网站设置”页面上有一个自定义操作,该页面显示在UsersAndPermissions列表中。它是使用功能创建的,这是该功能的elements.xml文件: <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <CustomAction Id="SDITeamGroupApplicationPage" GroupId="UsersAndPermissions"
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<CustomAction
Id="SDITeamGroupApplicationPage"
GroupId="UsersAndPermissions"
Location="Microsoft.SharePoint.SiteSettings"
Sequence="1000"
Title="Create a Team Group">
<UrlAction Url="_layouts/SDITeamGroupEdit.aspx"/>
</CustomAction>
</Elements>
目前,站点的所有用户都可以在站点设置页面上看到此链接。我想能够限制谁可以看到这个链接。这可能吗?怎么做呢?
查找名为“Rights”和或“RequiresiteAdministrator”等元素
以下是可能的“权利”列表:
您可以创建一个visual studio解决方案,该解决方案使用CustomAction来满足此类需求 以下是构建visual studio解决方案的分步说明,该解决方案可在“站点设置”页面中添加新的自定义链接: