function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SalesForce Administrator 101SalesForce Administrator 101 

Provisioning Users via Salesforce API

I want to create and update user records via the salesforce API, but when i'm creating a new user in a preactive status (eq IsActive=false) salesforce sets the Active flag to true (IsActive=true). What am i missing?

All other fields are correct provisioned through my Identity Access Manager.

Thanks in advance.
saikrishna.Gsaikrishna.G
Hi,
Whenever we create user in salesforce by default he will be active.You cant create Inactive users in salesforce.
SalesForce Administrator 101SalesForce Administrator 101
Hi,

Thanks.. Is it possible to update the user to IsActive=false, through the API?

Casper
saikrishna.Gsaikrishna.G
No I dont think we can do it in Salesfroce.