You need to sign in to do that
Don't have an account?
Femi Agbaje-Williams
Get the list of users or roles that have access to Report Folder via APEX or SOQL
Hi, Is there a way to get the list of users, roles, public groups that have access to a report folder or dashboard folder via SOQL or APEX? I am trying to add and remove users or roles from 100+ folders.
Thanks,
Femi
Thanks,
Femi
There does not seem to be a direct way to fetch this information.You might want to try Here the RecordId is the Report Id. However, this would require multiple queries - one to fetch the list of reports and one to check the access.
Please see related https://salesforce.stackexchange.com/questions/102044/soql-to-find-which-reports-are-accesed-by-what-profile
https://salesforce.stackexchange.com/questions/99081/soql-list-reports-current-user-can-access?rq=1
https://trailblazers.salesforce.com/answers?id=90630000000hheuAAA
Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you
Thanks, Femi