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 Is The Order Of Execution In Salesforce?
We are creating validation rules, workflow rules, assignment rules, auto-responsive rules, escalation ruels and apex triggers etc. If the condition is same for all the rules which will execute first and...

What is SFDC Architecture.
SFDC is built based on the MVC Pattern.Model - Which is handle the Database Objects View - Which will take care of the UI pages. Controllers- The business logic Implementation will be done here.

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

Trigger Best Practices
Triggers - Best Practices in Salesforce 1. Future methods, SOQL and DML: Avoid writing Future methods, SOQL and DML inside the "For" loop.2. Bulkify the trigger: Start developing the logic...
R

Rajiv Kumar Singh

0 1
0

Difference Between Workflows, Process Builder, Triggers.
Difference Between Workflows, Process Builder, Triggers. Workflows: Which is Automated business proces with help of New Task, Email Alert, Field Update, Outbound Messages. Process Builder: Which is...
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