How to compare profiles and permission sets in Salesforce
"Why can the Sales User do this but the Support User can't?" Salesforce has no compare button for profiles or permission sets. These are the ways to find the difference.
Option 1: Enhanced profile list view
- Setup → Profiles. Make sure Enable Enhanced Profile List Views is on (Setup → User Management Settings).
- Click Create New View, pick the profiles with a filter, and add the permissions you care about as columns (for example Modify All Data, API Enabled, Accounts: Edit).
- Save. The list shows one row per profile and one column per permission.
Good for a handful of system permissions. It does not show field-level security, and you have to know which columns to add.
Option 2: SOQL on ObjectPermissions and FieldPermissions
Run these in Developer Console or any SOQL tool, then compare the results in Excel.
SELECT Parent.Name, Parent.Profile.Name, SobjectType, PermissionsRead, PermissionsCreate,
PermissionsEdit, PermissionsDelete, PermissionsViewAllRecords, PermissionsModifyAllRecords
FROM ObjectPermissions
WHERE Parent.Profile.Name IN ('Sales User', 'Support User')
SELECT Parent.Profile.Name, Field, PermissionsRead, PermissionsEdit
FROM FieldPermissions
WHERE SobjectType = 'Case' AND Parent.Profile.Name IN ('Sales User', 'Support User')
For permission sets, filter on Parent.Name instead. For one user, open the user record and use View Summary (User Access Summary) to see what all their profile and permission sets add up to.
Option 3: Side-by-side compare (SF Manager)
- In SF Manager, open Security & Access → Compare Engine.
- Choose the Profiles or Permission sets tab and tick 2 to 8 of them.
- Pick Object & fields (type an object to see Read, Create, Edit, Delete, View All, Modify All and every field's Read / Edit) or System permissions.
- Turn on Only differences so only the rows that differ are left, then download CSV.