Sub topic 1
What a Salesforce user is
Prerequisites
Assume you know the Salesforce Lightning interface, the Setup menu, and the difference between an object and a record. You also need administrator access, or the Manage Users permission.
A Salesforce user is a record that represents a person or service account allowed to sign in to an org. The record stores identity details such as name, email, username, locale, and time zone. It also connects the user to access controls.
A user’s access is built in layers:
| Layer | Purpose |
|---|---|
| User record | Identifies the person and controls whether the account is active |
| User licence | Defines the broad Salesforce products and capabilities available |
| Profile | Supplies the user’s baseline permissions and object access |
| Permission sets | Add specific permissions without changing the profile |
flowchart TD
U[User record] --> L[User licence]
L --> P[Licence-compatible profile]
P --> S[Optional permission sets]
P --> R[Optional role for record visibility]User licences: the foundation of access
A user licence is an org-level entitlement that determines which Salesforce features a user can use. Examples include Salesforce, Salesforce Platform, and Experience Cloud licences. Each licence has a fixed number of seats.
The licence is not the same as a profile. Salesforce assigns the licence indirectly through the profile: a profile belongs to one user licence, and a user receives that licence through the selected profile.
A user can have only one user licence. Choose it according to the work the person must perform. A Salesforce licence usually supports more standard CRM objects than a Salesforce Platform licence.
Checking how many licences you have left
Before creating a user, check capacity. The available count is:
TotalLicenses - UsedLicenses
You can view this in Setup > Company Information, or query it with SOQL:
SELECT Name, TotalLicenses, UsedLicenses
FROM UserLicense
ORDER BY NamePermission set licences are separate entitlements. They may also limit access after the user is created, so check them when a permission set requires one.
Profiles and their link to licences
A profile is a user’s baseline access configuration. It sets object permissions, field permissions, app access, login hours, and permitted IP ranges. Every profile is tied to a user licence.
When you create a user, Salesforce shows only profiles compatible with the chosen licence. Start with the least powerful suitable profile, then add narrowly defined permission sets.
Exercise
What happens if an org has no available seats for the licence associated with your chosen profile?
Show answer
Salesforce prevents user creation until you free a seat, purchase capacity, or choose another licence with an available seat.