Hi there!
I'm creating a PHP script to export pilots from a custom built VA Admin System I did a few years ago.
I opened RegistrationDataClass.php and found out that the AddUser method receives the following array as parameter:
$data = array(
'firstname' => '',
'lastname' => '',
'email' => '',
'password' => '',
'code' => '',
'location' => '',
'hub' => '',
'confirm' => false);
I can fill most of those fields with legacy data, but not sure how to create a pre-defined password and salt (?) and have pilots change their passwords once the logon for the first time into the system. Also, are those the only required fields to create an entry in the pilots table?
TIA!