December 16, 2020

How to fetch all Permission Sets where View All Data is true in Salesforce?

SOQL:
 
SELECT Id, Name, ProfileId, IsCustom, IsOwnedByProfile, PermissionsViewAllData, PermissionsModifyAllData FROM PermissionSet WHERE IsOwnedByProfile = false AND PermissionsViewAllData = true
 

 

No comments:

Post a Comment