views:

536

answers:

1

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 feature, this is the elements.xml file for the feature:

<Elements xmlns="http://schemas.microsoft.com/sharepoint/"&gt;
  <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 the users of site can see this link on the Site Settings page. I want to be able to restrict who can see this link. Is this possible? How can it be done?

+3  A: 

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

Look for the elements called "Rights" and or "RequireSiteAdminstrator" etc.

Here are the list of possible "Rights":

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

jgj