function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Prosenjit Sarkar 7Prosenjit Sarkar 7 

How can I retrieve All Files that have been attached for all records by user who have read only permission to a record ?

Hi developers, 

I need to extract a list of users who have attached some files to a record in which they have only read only permission. This query need to search across all objects in an org. Also, I need to find the record Ids of those files. 

is there any way to do that ?

Thanks in advance,
Prosenjit