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

How To Schedule Batch Apex In Minutes/Hours?
To schedule the batch class in minutes/hours, in the finish method we should use System.schedule method which will take 3 parameters Job Name, Chrone Expression and schedulable class instance name respectively. ...

Salesforce Deployment
A Deployment connection allows customizations to be copied from one organization to another. This list shows the deployment connections allowed from other organizations to this organization, and from this...

What is Mixed-DML-Operation Error And How To Avoid?
If we perform DML operation on standard/custom object and global objects(User, UserRole, Group, GroupMember, Permission Set, etc...) in same transaction this error will come. To avoid this error, we should...

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

SFDC ADMIN
Everything is Configuration. Logical Data Diagramatic Approach Business Analysis Required Implementation the Architecture Internal Stack holders Discussions.
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