…the “dlgConfigUserReg” form just holds the UI…eventually all registration data is posted as XML to an agent in webadmin which performs parsing of the XML to perform the actual registration. However, there are LOTS of interdependencies which will probably make it really hard to extract just that functionality and make it easily callable from outside.
You’re probably easier off with simply creating your own form with all registration data, post that to the server and use a regular agent using the newly enhanced “NotesRegistration” class in R6.5 to do the actual registration.