Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am creating Top Link navigation dynamically on feature activation code. I want to audience the navigation so that only authorized user see the relevant navigation items. I know there is property ofSPNavigationItem e.g. item.Properties["Audience"]. But not sure how to set a number of groups and a mix of groups and users. Please suggest

share|improve this question
Check out the format mentioned here: sharepointkings.com/2010/02/…. Don't know for sure if it's the same, but that would make sense I guess. –  Jasper Oct 9 '12 at 13:21
Had you try to use the spsecuritytrimmedcontrol ? –  Salvatore Di Fazio Oct 9 '12 at 14:41

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.