Inserting many users into Salesforce with Bulk API, Data Loader, or other bulk processing tools requires planning for performance and record locking.
Scenario: An admin needs to create 5,000 partner portal users for a new Experience Cloud site launch. Using parallel Bulk API processing without deferring group membership calculations causes record-level locking errors and job failures.
This article explains how to insert many users in Salesforce without slow processing or locking errors. It compares role-based users with high-volume community or site users and lists recommendations for inserting role-based users in bulk.
To expedite the processing of bulk inserting role-based users and reduce the chances of locking, we suggest that you:
004576984

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.