Solved

Hide a sharepoint list based on user permissions

Posted on 2010-09-06
5
330 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 250 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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. …
In case you ever have to remove a faulty web part from a page , add the following to the end of the page url ?contents=1
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

828 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