Click here to Skip to main content
16,004,458 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I'm working on share point 2010.
on quick bar i've navigation links in that i want to show some navigation link to two users only. whenever other user logged into the site that links have to be hide from quick launch bar.
i tried to achieve it using audience targeting but i didn't get the result.

can anyone me to achieve it through programming.



Thanks...
Posted

1 solution

You can obtain a reference to the QuickLaunch via SPWeb.Navigation.QuickLaunch. With this you can add or remove items as necessary. However, keep in mind the navigation for a publishing site is different than that of non-publishing sites, such team site.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900