SharePoint custom action on site settings page

I have a custom action on the site settings page of my SharePoint site that appears in the UsersAndPermissions list. It is created using a function, this is the elements.xml file for this function:

<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> 

Currently, all site users can see this link on the site settings page. I want to limit who can see this link. Is it possible? How can I do that?

+6
sharepoint custom-action sharepoint-2007
source share
2 answers

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

Look for items called "Rights" and / or "RequireSiteAdminstrator", etc.

Here is a list of possible "Rights":

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

+6
source share

You can create a visual studio solution that uses CustomAction for such requirements.

Here are step-by-step instructions for creating a visual studio solution that adds a new custom link on the site settings page: Add a link to the site settings page in SharePoint.

0
source share

All Articles