Hi Friends,
I recently came across below new things I did in my project. Hope it helps you too.
Description :
How to Assign one permission set to multiple Users ? For example: If I want to assign ONE permission set to 200 Users without Manual assignment.
How To Do ? :
Step 1: Pull Salesforce 15 digit id of Particular Permission set.
Ex: If below is the URL of Permission Set.
https://na14.salesforce.com/0PSd00000013xrx
Then "0PSd00000013xrx" is salesforce id.
Step 2 : Pull Salesforce Ids of the Users for which you want to assign the Permission Set.
Step 3 : Create CSV file(as shown below) with List Users (i.e. User ID) in one column and Permission Set id in another clomun ).
Id | Permission Set ID |
005d0000000aPznAAE | 0PSd00000013xrx |
005d0000000aQK4AAM | 0PSd00000013xrx |
005d0000000aQK5AAM | 0PSd00000013xrx |
005d0000000aWXVAA2 | 0PSd00000013xrx |
005d0000000acTIAAY | 0PSd00000013xrx |
005d0000000ad7qAAA | 0PSd00000013xrx |
005d0000000azdvAAA | 0PSd00000013xrx |
005d0000000bRqgAAE | 0PSd00000013xrx |
005d0000000bb2yAAA | 0PSd00000013xrx |
005d0000000c5MYAAY | 0PSd00000013xrx |
Step 4 : Insert the .csv file using Workbench to "PermissionSetAssignment" object using below mapping.
Field | CSV Field |
AssigneeId | Id |
PermissionSetId | Permission Set ID |
Now You will be assigned Permission Set to All the Users present in .csv file.