Adding users outside of CP or front-end registration form
You could write a custom plugin that exposed a anonymous controller endpoint that accepted to the user info you want to save.

From there the controller endpoint could create a new UserModel, populate necessary fields/properties you want to save, then call craft()-&gt;users-&gt;saveUser() and let Craft do the database populating.