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.
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".