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

How can I hide links in quicklaunch for special usergroups? For example only administrators should see administration-links. I don't even know, if something like this is possible in a simple way or if I'll have to code a webpart for this.

Thanks in advance

Stefan Hennicken

share|improve this question

2 Answers 2

up vote 0 down vote accepted

If this is a link to library or list you can set permissons for it so only people that have those permission can see it - handling permissions or look at target audience - handling target audience. Hope it will help.

share|improve this answer
    
It helped me to understand, what I could do to hide lists somebody shouldn't see. Thanks a lot for that. But in my quicklauch, there are also different views of the same list and by showing only the links a specific group will work with, we try to make it easier to work in the sharepoint enviroment. As far as I know now, it isn't possible to achieve this (hiding some links a specific user/group will not have to work with) by handling permissions and/or target audience, because these permission focus on complete lists. –  user1832 Nov 12 '10 at 13:33
    
So you just need to see records for specific group? –  Andriy Shvay Nov 12 '10 at 15:16
    
Exactly. 3 groups should see different links to different views based on the same list in their quicklaunch. –  user1832 Nov 12 '10 at 15:37
    
How about create attitional column where to store what kind of group can see this item and filter by it on view - in that case you can have one link for 3 groups –  Andriy Shvay Nov 12 '10 at 15:42
    
Good idea, but the different views also provide different kind of sortings for each view. –  user1832 Nov 12 '10 at 15:55

maybe following code snippet will help you

         public override void FeatureActivated(SPFeatureReceiverProperties properties)
        {
            using (var oWeb = properties.Feature.Parent as SPWeb)
            {

                SPNavigationNode node = oWeb.Navigation.AddToQuickLaunch(new SPNavigationNode("link", "Lists/yourList/view1.aspx", false), SPQuickLaunchHeading.Lists);
                node.Properties["Audience"] = ";;;;yourGroup";
                node.Update();
             }
        }
share|improve this answer

Your Answer

 
discard

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