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

Programmatically create Self-Service User



I'm looking for the easiest way to programmatically create self-service user accounts. I initially wanted to do this via an Apex REST class; however, I see that I cannot perform any DML operations against the SelfServiceUser object in Apex.


Do I really need to create an external web service that I call from my Apex REST class? It looks like creating self-service users via the API is possible.


I appreciate any suggestions and advice.