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

When To Use Before Triggers And When To Use After Triggers?
1. Before Triggers: To perform the validations we should use before triggers. If you are updating any field on the same object on which you are writing the trigger and no need to explicitly include the...

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...

Trigger Sceniors - session 5
//Trigger Check Duplicate before insert, before update Set leadid = new Set(); Map<String,Lead> phonemap = new Map<String,Lead>(); Map<String,Lead> emailmap = new Map<String,Lead>();...
S

Java To Salesforce Connection
Java to Salesforce Connection Step 1: Generate or Obtain the Web Service WSDL To generate the WSDL file for your organization: Log in to your Enterprise, Unlimited, or Developer Edition Salesforce...

Trigger Sceniors
Trigger Scenarios:- (Prepared By Suresh Kumar tvs) Scenario one:- (All Opportunity Triggers) //Trigger to display error message when stage name is change from 'Order closed' to other values Part one...
S
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