UrbanPro
true

Learn Salesforce Administrator from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

Assigning One permission to multiple users automatically without any manual work.

Kiran
15/12/2016 0 0

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.

        

0 Dislike
Follow 0

Please Enter a comment

Submit

Other Lessons for You

What Are The Map Methods Available In Apex?
//Map holds key and value pair. //Syntax: Map mapName = new Map(); /*Map countryISTCodeMap = new Map(); countryISTCodeMap.put('India','91'); countryISTCodeMap.put('USA','001'); countryISTCodeMap.put('India','911');//replaces...

What Is Batch Apex And Its Methods ?
1. We can call the apex code by creating object for the class (or) if the variables or methods are static then we can call with class name. Apex Code in the trigger will execute automatically for...

SFDC ADMIN
Everything is Configuration. Logical Data Diagramatic Approach Business Analysis Required Implementation the Architecture Internal Stack holders Discussions.

Difference Between Insert/Update And Database.Insert/ Database.Update
insert/update Database.insert/Database.update Assume that you are inserting 100 records. If any one of the record fail due to error then entire operation will fail. None of the records will be saved...

Difference Between Data Loader And Import Wizard In Salesforce
Difference between Dataloader and Import Wizard in Salesforce: Dataloader Import Wizard It supports more than 50000 records. It supports only up to 50000. It supports...
X

Looking for Salesforce Administrator Classes?

The best tutors for Salesforce Administrator Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn Salesforce Administrator with the Best Tutors

The best Tutors for Salesforce Administrator Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more