Solved

Hide a sharepoint list based on user permissions

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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

I have just recently built a new SharePoint 2007 farm on a complete Windows 2008 R2 server platform and part of my standard build procedure is to implement a warm up routine, usually in the form of a script that is scheduled every morning to launch …
There is one common problem that all we SharePoint developers share: custom solution deployment. This topic can't be covered fully in this short article, so all I want to do in this one is to review it from a development-to-operations perspectiv…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

863 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now