+ Start a Discussion
Siddharth LakhotiaSiddharth Lakhotia 

How to assign permission set to a particular role when a user is created is salesforce ?


I have a situation , where-in I need to restrict the access to reports to specific Sales rep in salesforce.

However managers ( differed by roles ) can acesss. I need to give a permission set to users with manager roles.

How can I write an Apex trigger to assign permission set to get automatically assigned to a role or public group

Deepu BDeepu B
Hi Lakhotia,

Yoiu may try an app downloaded from appexchange. It will work for you i think. Below is the link for the same.