New User API

16 years 4 months ago #52492 by garyamort
New User API was created by garyamort
I'd like an API for adding a user to the system.

The function call for creating a new user via CB is highly dependent on certain POST variables being set.

I'd much prefer to have a an API where I can set a sequence of row variables, than call the API to force user creation. Along with a couple of flags to override certain features(ie "ignore required fields", "auto approve", etc)

Barring that, documentation on which global variables are required and their format for creating a userid and I could hack it by creating those globals manually and then calling the CB add user function.

Please Log in to join the conversation.

16 years 4 months ago #52674 by beat
Replied by beat on topic Re:New User API
This is a good request, which is planed for next major release. :)

In the mean time you would have to study the registerForm() and saveRegistration() code.

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.185 seconds

Facebook Twitter LinkedIn