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
pramod8585pramod8585 

create new user using apex code

my question is that when a record is inserted through webservice callout.we need to create a new salesforce username to that record account.so, i am unable to write the apex code for tha

kiranmutturukiranmutturu

what is your prob in creation?

pramod8585pramod8585

it is an automation process.we should not create manually.

kiranmutturukiranmutturu

automatic process any way contacting the salesforce api right? from that itself you can create user using api.or u can create a wsdl in apex to create a user in fly and use the same in your automation process...

pramod8585pramod8585

ya ,through api.do u have any code for that .it would be helpful for me.