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

Create userRole via api

Hi there. Im looking to create a customer portal user via the web services api.

 I see that any new user that is to be created my be associated with a userRole.

Now, I'm wondering how one could create a userRole?


I was thinking of populating the field portalAccountId but I checked the schema explorer and it's not createable...

I'm wondering what my other options are?

Thank you very much.




Did you ever find the solution for this.


I'm facing the same problem and can't find anything to help me.


All the best,