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.