Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/sharepoint/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
网站设置页面上的SharePoint自定义操作_Sharepoint_Sharepoint 2007_Custom Action - Fatal编程技术网

网站设置页面上的SharePoint自定义操作

网站设置页面上的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"

我在SharePoint网站的“网站设置”页面上有一个自定义操作,该页面显示在UsersAndPermissions列表中。它是使用功能创建的,这是该功能的elements.xml文件:

<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解决方案的分步说明,该解决方案可在“站点设置”页面中添加新的自定义链接: