PermissionSet query

https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_objectpermissions.htm

https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_permissionset.htm

SELECT Id, Parent.label, SobjectType, PermissionsRead,
   Parent.PermissionsModifyAllData, ParentId
FROM ObjectPermissions
WHERE PermissionsRead = true and <strong>SobjectType</strong> = 'Merchandise__c'


SELECT Id, Name
FROM UserLicense

 

Print Friendly, PDF & Email
This entry was posted in Administration and tagged . Bookmark the permalink.