• Renuka Chavan
  • NEWBIE
  • 5 Points
  • Member since 2020

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies
Hi All,
I am  trying to write an Apex Test class for AutocreatedConfigSelfReg 
In the test class I want to pass the real values to below method defined in AutocreatedConfigSelfReg 
global Id createUser(Id accountId, Id profileId, Map<SObjectField, String> registrationAttributes, String password) 
Type: Map<Schema.sObjectField,String>
A map of attributes that the registering user entered on the self-registration page. 
Cam somebody guide me how can I pass the below fields and associated values to the createUser method 
FirstName
LastName
Email
Hi All,
I am  trying to write an Apex Test class for AutocreatedConfigSelfReg 
In the test class I want to pass the real values to below method defined in AutocreatedConfigSelfReg 
global Id createUser(Id accountId, Id profileId, Map<SObjectField, String> registrationAttributes, String password) 
Type: Map<Schema.sObjectField,String>
A map of attributes that the registering user entered on the self-registration page. 
Cam somebody guide me how can I pass the below fields and associated values to the createUser method 
FirstName
LastName
Email