Play Games

Search This Blog

Thursday, July 7, 2022

Assign permission sets to multiple users quickly in salesforce - Salesforce Globe For You

Solution: In order to assign permission sets to multiple users in salesforce, One of the solution is to use Data Loader to assign permission sets to users.

Below are the 2 permission sets to be assigned to users

Rating with id 0PS90000001oCOX

Testing with id 0PS900000018xJ7




PermissionSetAssignment is the standard salesforce object which represents the relationship between a user and a permissionset.

https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_permissionsetassignment.htm

Create a csv file as shown below


If 3 permissionsets needs to be assigned to a user,then 3 rows to be inserted for 1 user with 1 permissionset in each row.

Using Dataloader ,insert the data into the PermissionSetAssignment object.

Output:



No comments:

Post a Comment