Sub topic 9
Finding user, profile, and permission set settings
This chapter assumes you can open Setup from the gear icon, use Quick Find, and read the Setup menu categories. It also assumes you know what a Salesforce user, object, and field are. The goal is to locate the pages that control who can sign in and what each person can see and do. You will also learn the errors that make people look in the wrong place.
Why access settings are spread across several pages
Salesforce does not keep "access" on one page. A user's abilities come from several layers that you configure in different places:
- The user record holds identity: name, username, role, profile, and which permission sets are assigned.
- A profile is a required base set of permissions and settings. Every user has exactly one.
- A permission set is an optional bundle of extra permissions. A user can have many.
- A permission set group combines several permission sets into one assignable unit.
- A role controls record visibility up and down a hierarchy. It is not a permission bundle.
Most confusion comes from mixing these up. When someone asks "why can't this user edit that field?", the answer could be in any layer. Knowing where each layer lives lets you check them in order.
The Users section of Setup
In Lightning Experience, open Setup and type Users in Quick Find. The Administration category contains the pages you will use most.
| Page | What you do there |
|---|---|
| Users | View, create, edit, freeze, and deactivate users |
| Profiles | Open a profile and change its object, field, and system permissions |
| Permission Sets | Create sets and manage the users assigned to each |
| Permission Set Groups | Bundle permission sets and assign the bundle |
| Roles | Build the role hierarchy that drives record visibility |
| Public Groups | Define groups of users for sharing rules and list views |
| Login History | See sign-in attempts, including failures |
Menu labels can differ slightly between releases. If a page is not where you expect, search for its name in Quick Find instead of browsing.
Finding a single user
Go to Users and open the Users page. Select a list view such as All Users, then click the user's name. On the user detail page, these sections matter most:
- General Information shows the username, role, profile, and whether the user is active.
- Permission Set Assignments lists the sets and groups assigned directly.
- Permission Set License Assignments lists licenses that some permission sets require.
- Login History for that user appears as a related list.
The Login button on a user record lets an administrator sign in as that user, if the org allows it. This is the fastest way to reproduce what a user sees. Remember that you are acting as that person, so changes you make are recorded under their name in many places.
Deactivate and freeze
Salesforce does not let you delete users. You have two controls:
- Freeze blocks sign-in immediately but keeps the user active and licensed. Use it while you decide what to do, or when a user is mid-session and you need them out now.
- Deactivate removes the user's access and releases the license. The user's records stay in the org.
Freezing is not a substitute for deactivating. A frozen user still consumes a license.
Profiles
Search Profiles in Quick Find to list every profile. Open one and you will see two views of the same data. The names vary by org settings, but the overview typically offers:
- Object Settings, where you set read, create, edit, and delete access per object, plus field-level access and record types.
- System Permissions, a list of org-wide abilities such as "Export Reports" or "Manage Users."
- Assigned Apps, Login Hours, and Login IP Ranges, which restrict how and when the profile signs in.
Be careful with system permissions on a profile that many users share. A checkbox change applies to everyone with that profile at once.
The "View Users" shortcut
On a profile page, the Assigned Users or "View Users" link shows who holds that profile. Use it before editing, so you know the size of the change.
Permission sets and permission set groups
Search Permission Sets in Quick Find. Open a set and you will find:
- Object Settings and App Permissions for the access it grants.
- System Permissions for org-wide abilities.
- Manage Assignments, a button that lists the assigned users and lets you add or remove them.
A permission set only adds access. It cannot remove access that a profile already grants. This is the main design rule: keep profiles minimal and grant additional abilities through permission sets.
Permission set groups let you assign a role-shaped bundle, such as "Sales Operations," in one step. A group can also contain a muting permission set, which switches off specific permissions that the group's member sets would otherwise grant. Muting applies only inside that group.
Which page answers which question
Use this table when you are tracing a problem.
| Question | Where to look |
|---|---|
| Which profile and role does this user have? | The user detail page |
| Which permission sets does this user have? | Permission Set Assignments on the user page |
| Who has this permission set? | Manage Assignments on the permission set |
| Who has this profile? | The profile's assigned users list |
| Can this user edit this field? | Field-level security on the field, or the field access view on the user |
| Why can't the user see this record? | Role hierarchy, sharing settings, and sharing rules |
Checking a field from Object Manager
You can also approach access from the object side. Open Object Manager, choose the object, then Fields & Relationships, and select a field. The Set Field-Level Security button shows which profiles can see and edit that field. The View Field Accessibility button shows access as a grid by profile and field. Note that field access is a combination of profile and permission set settings, so a field might look hidden on the profile page but visible through a permission set.
Tracing a "can't see it" problem
Work through the layers in a fixed order. This avoids guessing.
The first four checks concern object and field permissions. The last concerns whether the user can reach that particular record. A user can have full object access and still not see a record that sharing hides from them.
Assigning a permission set with a script
The Setup pages are enough for single changes. For repeated work, the Salesforce CLI can assign a permission set from the terminal. This command assumes you have authorized an org and that a permission set with the API name Sales_Operations exists.
sf org assign permset --name Sales_Operations --target-org my-dev-orgTo assign it to another user, add --on-behalf-of with their username. Afterward, check the result in Setup under the user's Permission Set Assignments, or with a query that you run in the Developer Console or the CLI:
SELECT Assignee.Username, PermissionSet.Name
FROM PermissionSetAssignment
WHERE PermissionSet.Name = 'Sales_Operations'The PermissionSetAssignment object also contains rows for the profile's hidden permission set, which has a name that starts with the profile's internal ID. Filter by name, as above, to avoid it.
Common errors
- Editing the wrong layer. Changing a profile to fix one person's problem affects everyone on that profile. Prefer a permission set.
- Forgetting the license. A permission set that needs a permission set license fails to assign until the license is assigned first.
- Confusing roles with permissions. A role does not grant object or field access. It only affects which records are visible.
- Assuming a profile edit is reversible by a permission set. Permission sets cannot subtract. Only a muting permission set in a group can do that.
- Searching with the wrong label. Quick Find matches the menu text. If "Users" shows many results, try "Permission Sets" or "Profiles" in full.
- Not recording a change. Access changes appear in the Setup Audit Trail. Check it when you need to know who changed a profile and when.
Exercises
Exercise
A user can open the Opportunity object but cannot edit the Discount field. List the order of Setup checks you would make.
Show answer
First open the user record and confirm the profile and any assigned permission sets. Then check object permissions for Opportunity. Then open Object Manager, go to Opportunity, Fields & Relationships, select Discount, and use Set Field-Level Security or View Field Accessibility to see whether the profile or a permission set grants edit access. If field access is correct, the field may be read-only for another reason, such as a page layout, a formula field, or a validation rule.
Exercise
You need to give 40 users from different profiles the ability to export reports. Where do you make the change, and why not on a profile?
Show answer
Create a permission set (or add the Export Reports system permission to an existing role-shaped set) and assign it to the 40 users from the Manage Assignments page. A profile change would affect every user on that profile, including people who should not get the ability, and you would have to edit several profiles.
Exercise
A user was deactivated last week, yet still appears to consume a license. Which control may have been used, and what is the difference?
Show answer
The user was probably frozen instead of deactivated. Freezing blocks sign-in but keeps the user active, so the license stays in use. Deactivating releases the license.