I have made account number as read only field, using permission sets we are giving edit access to selected users. With the time we have got redundant permission sets giving same permissions.

permission set 1 permission set 2 permission set 3

all doing the same thing. To get rid of duplicate permission sets, I want to find out which permission sets provide edit access on a particular fields.

1 Answer 1


You can query for this in FieldPermissions:

select parent.name from fieldpermissions where field = 'account.accountnumber' and permissionsedit = true and parent.isownedbyprofile = false
  • Thanks @sfdcfox
    – C0DEPirate
    May 29, 2019 at 18:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .