Ad Code

✨🎆 Codex 1.0 PLACEMENT READY PROGRAM! 🎆✨

Get 75% Discount Early bird offer CLICK to JOIN CodeX 1.0 click

What is Permission Set? | How to use Permission set | Permission set example in salesforce

 🔑 What is a Permission Set?

A Permission Set is a collection of settings and permissions that gives users access to:

  • Objects

  • Fields

  • Apps

  • Tabs

  • Apex classes

  • Visualforce pages

  • System permissions

👉 Profiles define base access, while Permission Sets add extra access.


✅ Why use Permission Sets?

  • Avoid creating many profiles

  • Give temporary or role-based access

  • Follow best practice (Salesforce recommends fewer profiles, more permission sets)

  • Easily assign/remove permissions


📌 Example

  • Profile: Sales User

  • Permission Set: Export Reports Access

Only users who need report export get the permission set.


🧩 What can be included in a Permission Set?

CategoryExamples
Object Permissions              Read, Create, Edit, Delete
Field Permissions              Read / Edit fields
App Permissions              Access to apps
Tab Settings              Show/Hide tabs
Apex Access              Apex classes
VF Access               Visualforce pages
System PermissionsRun Reports, Export Data

🛠️ How to Create a Permission Set

  1. Go to Setup

  2. Search Permission Sets

  3. Click New

  4. Enter:

    • Label

    • API Name

    • License (optional)

  5. Click Save


👤 Assign Permission Set to Users

Method 1: From Permission Set

  • Open Permission Set

  • Click Manage Assignments

  • Click Add Assignments

  • Select Users → Assign

Method 2: From User Record

  • Open User

  • Go to Permission Set Assignments

  • Click Edit Assignments


🆚 Permission Set vs Profile

FeatureProfilePermission Set
Mandatory             Yes (1 per user)          No
Multiple per user            ❌          ✅
Purpose           Base access          Additional access
Best practice          Fewer profiles          More permission sets


Post a Comment

0 Comments