Skip to main content

I am trying to signup new users in my Sandbox from my Java code. I checked available API options for this i.e.

  1. SOAP API create() call
  2. REST API, POST user data to the sobject user endpoint

Problem with both the above calls is that, I don't see an option to set the User License adn every time it creates an user that consumes a Salesfroce licence. But my target is to create a mix of salesforce Users, Community Users, Chatter Users. Is there a way I can specify which UserLicense to be used while creating the user and will it be different request payload for community users.

1 件の回答