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

SELECT ParentId,PermissionsCreate,PermissionsDelete,PermissionsEdit,PermissionsModifyAllRecords,PermissionsRead,PermissionsViewAllRecords,SobjectType FROM ObjectPermissions

Can any one explain what is parentid in above query, Is there any relationship with profile. I want to export object permission based on profile.

The Id of this object’s parent PermissionSet.

Example : contact is object and his parent id is Account
Thanks GhanshyamChoudhari for your Quick response.
But I have requirement to export all object permissions based on profile. Is there any relationship with parentid and profiles.

Jagannathan MJagannathan M
Hello Krishna,

Currently it is not possible extract Object Permissions based on Profile as a data(csv or excel). It is clearly mentioned here :

But you can download all the Profiles metadata using eclipse and you can document the permissions.