Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Hide a sharepoint list based on user permissions

Posted on 2010-09-06
5
Medium Priority
?
351 Views
Last Modified: 2012-05-10
Hi, is there any way to Hide a list all together based on user permission level. I tried to use SPBasePermissions class but it dosent show anything.
thanks
Aqib
0
Comment
Question by:aqibsp82
5 Comments
 
LVL 7

Accepted Solution

by:
amolghanwat earned 1000 total points
ID: 33611000
Just use the OOB features. Break the inheritance of the list and remove the user from the permissions list. This should be enuf.
0
 

Author Comment

by:aqibsp82
ID: 33611178
thanks amolghanwat
In OOB solutions there are specific permissions given you can not customize any permission. what i want is this that if user has no access to the List then he should not be able to see the list altogether... this type of functionaliy is not given in OOB.
thanks
Aqib
0
 
LVL 38

Expert Comment

by:Justin Smith
ID: 33617110
Like amol said, if a user doesn't have access to a list, he won't see it at all, and won't see link to it.  This is native functionality.
0
 
LVL 17

Expert Comment

by:GreatGerm
ID: 36123439
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Note:  There are two main ways to deploy InfoPath forms:  Server-side and directly through the SharePoint site.  Deploying a server-side InfoPath form means the form is approved by the Administrator, thus allowing greater functionality in the form. …
A while back, I ran into a situation where I was trying to use the calculated columns feature in SharePoint 2013 to do some simple math using values in two lists. Between certain data types not being accessible, and also with trying to make a one to…
Integration Management Part 2
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses
Course of the Month11 days, 23 hours left to enroll

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question