Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Does getting items by caml query automatically get security trimmed?

$
0
0

I am making a visual webpart that downloads items from a document library using c# and caml query. I want to know when I get the items, are they already security trimmed (which means it filters the items where the current user has read permission on it)?

Does that happen, or do I have to manually check using c# code to filter out items where current user doesn't have read permission to open the document?

Thanks.


Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>