how to use api_provision without first name and last name?

  • 0
  • 1
  • Question
  • Updated 3 years ago
  • Answered

I am using Api_Provision to add user in to app but the first name and last name of user is unknown to me. So how can i use this api?

I have only email id data. Api_AddUsertoRole is not working as this is the first time addition.


Any help on this?

Thanks,

Geetanjali

Photo of Geetanjali

Geetanjali

  • 42 Points

Posted 3 years ago

  • 0
  • 1
Photo of Ⲇanom the ultimate (Dan Diebolt)

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 30,064 Points 20k badge 2x thumb
Just use a dummy name like "Hey You" and inform the user they can change the name during the registration. Read the docs for API_ProvisionUser:

After you invoke this call, you’ll need to invoke API_SendInvitation to invite the new user via email. When the user clicks on the email invitation, the user is prompted to complete the brief registration. (At this time, the user can change the first and last name you assigned.)