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 have builded in Visual Studio (c#) a custom list, custom content type and 3 custom views. I am using sp 2010.

The list is working ok and I can see and select the 3 views. It is possible for the end user to change the view. I would like to disable this. I would like to use one of the 3 views depandant by current user.

For example:

if current user is member of the group "MyCustomGroup1" then show "view1".

else if current user is member of the group "MyCustomGroup2" then show "view2".

else show default view "view3".

share|improve this question
add comment

1 Answer 1

up vote 0 down vote accepted

Yes it is possible(but not OOB) to set permissions on groups to access only certain view of list by default and luckily someone developed a solution for you too.

http://spviewpermission.codeplex.com/

Or you can do it using JavaScript too here's the link to tutorial

Similar question

Similar question 2

SomeHow Similar question

Another Tutorial

Edit

If you are using SharePoint 2010 you can use SharePoint designer to set view level permissions as demonstrated in this link.

How to set view level permissions out of the box in SharePoint 2010

Hope it helps.

share|improve this answer
    
I dont want to use 3th party stuff and also no javascript. I like the the solution in you last link (Similar question: sharepoint.stackexchange.com/questions/40042/…). The only problem is that users which dont have permission to the page can see the link in the navigation bar, but got a 404 error. Is there some solution to not show the link in the left navigation menu? –  KHA Feb 14 '13 at 16:56
add comment

Your Answer

 
discard

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

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