I want to syncronize an application, a package i created, in order to every time a contact is inserted it is also registered as new user in the system.
i tried to simply use auth::create_user in the block "new-data" of the ad_form from my application.
auth::create_user -user_id $party_id \
-first_names $first_names \
-last_name $last_name \
-email $email \
However, it doesn't work as i expected. The user is not added to the system.
what is the API that does the job?