In my left hand side bar I have 3 links to downloads- one for each of three different companies. I need each company to log in and see only the one link to their companies downloads - not all 3 links for each company.

In the code I was hoping to put a security trim around each link that only ran the code if the user is a member of that companies group.

Is this possible?


 ID="SPSecurityTrimmedControl1" **Group="Company1"** runat="server">

'Link to Company one downloads' </SharePoint:SPSecurityTrimmedControl>

If not is there a good workaround?


If you use Sharepoint 2010 Server (not Foundation) you can put these links into three different content editor web parts and define target audiences for them. http://blog.sharepointlearn.com/2011/02/20/use-audience-targeting-to-filter-who-sees-an-assessment-in-sharepoint/

|improve this answer|||||
  • That's great thank you - I can even spend some time on the UI for once! – Steve Allen Jan 23 '13 at 11:01

Use Audience targeting in the navigation.

|improve this answer|||||
  • This is a fair workaround, but let's not mistake comparing Audience targeting to security, because it's not. – Mike Apr 11 '13 at 21:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.