Skip to main content
added 43 characters in body
Source Link
user2606
user2606

I'm creating a link and put it in the site action container. The link should only be visible to members in the HR groups. Here is the declaration in my Elements.xml file

 
 <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <CustomAction Rights="ManageWeb" Id="UM" Description="View and manage user profile"   
    Title="User Management" GroupId="SiteActions"  
    Location="Microsoft.SharePoint.StandardMenu" Sequence="10">
    <UrlAction Url="~site/_layouts/UM/Overview.aspx"  />
  </CustomAction>

  <HideCustomAction HideActionId="UM" GroupId="SiteActions"  
    Location="Microsoft.SharePoint.StandardMenu" Id="hideUM"  > 
  </HideCustomAction>

My problems is how do I connect this two, between the link and the group. Any help is very much appreciated. Thanks in advance.

I'm creating a link and put it in the site action container. The link should only be visible to members in the HR groups. Here is the declaration in my Elements.xml file

 

My problems is how do I connect this two, between the link and the group. Any help is very much appreciated. Thanks in advance.

I'm creating a link and put it in the site action container. The link should only be visible to members in the HR groups. Here is the declaration in my Elements.xml file

 <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <CustomAction Rights="ManageWeb" Id="UM" Description="View and manage user profile"   
    Title="User Management" GroupId="SiteActions"  
    Location="Microsoft.SharePoint.StandardMenu" Sequence="10">
    <UrlAction Url="~site/_layouts/UM/Overview.aspx"  />
  </CustomAction>

  <HideCustomAction HideActionId="UM" GroupId="SiteActions"  
    Location="Microsoft.SharePoint.StandardMenu" Id="hideUM"  > 
  </HideCustomAction>

My problems is how do I connect this two, between the link and the group. Any help is very much appreciated. Thanks in advance.

Source Link
user2606
user2606

Custom Action and Group

I'm creating a link and put it in the site action container. The link should only be visible to members in the HR groups. Here is the declaration in my Elements.xml file

My problems is how do I connect this two, between the link and the group. Any help is very much appreciated. Thanks in advance.