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

标签 sharepoint sharepoint-2007 custom-action

我在我的 SharePoint 网站的网站设置页面上有一个自定义操作,它出现在用户和权限列表中。它是使用功能创建的,这是该功能的 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>

目前网站的所有用户都可以在“网站设置”页面上看到此链接。我希望能够限制谁可以看到此链接。这可能吗?怎么做到呢?

最佳答案

http://msdn.microsoft.com/en-us/library/ms460194.aspx

查找名为“Rights”和/或“RequireSiteAdminstrator”等的元素。

以下是可能的“权利”列表:

http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spbasepermissions.aspx

关于网站设置页面上的 SharePoint 自定义操作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1593109/

相关文章:

html - 如何在内容管理系统中覆盖 CSS

windows-installer - Windows 安装程序奇怪的自定义操作

wix - 在 WiX 中的对话框 (InstallUISequence) 之间插入自定义操作

SharePoint MOSS 备用访问映射

c# - SharePoint 2013 测试登录用户

excel - ThisWorkbook.FullName 在与 OneDrive 同步后返回 URL。我想要磁盘上的文件路径

永久运行的 SharePoint 解决方案部署 - SharePoint 2007

javascript - SP 2007 使 IE 在运行 jssor 代码时挂起

WiX/MSI : Redirect stdout to file, 类型 50 自定义操作

sql - SQL Server 中的 MS Project 数据