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
Anju Chacko QBAnju Chacko QB 

Communities Self Registration not working

Site.createPortalUser(u, accountId, password) seems not working as the user record is not created. Any body have a working sample? Also can we set chatter free profile for community users? Can we assign any account (new account created in apex class) ?

Subhani PSubhani P



Please check the followinf link for your reference.


Salesforce Certified Developer,

Did you found the solution?
What was the core issue?
I am facing same issue, self registration is working fine all days except on Friday .
Any leads will be helpfull