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
nishad basha 7nishad basha 7 

create a user using visualforce page and create a form with 6 user fields and fill remaining fields in controller when i click submit button new user should be created?

my requirement is using visualforce page add with 6 user fields and click submit button new user should be created.
raj4cloudraj4cloud
please refer the sample code which is being used for the portal user creation. Need to modify the code to fit your needs.
https://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_sites.htm