I am trying this, but for some reason the “Get current user” function is returning null, even though I logged in first before calling the Register function.
I also called Backendless.UserService.getCurrentUser() just before calling the Register function to confirm that I am logged in and I do get a result, but the “Get current user” function still returns null on the event.
Ideally I wanted the Admin users to Register users first, but I think I will change my strategy.
Currently I have a Members table which will get loaded with Members by the Admins.
We would then send an invite to the member to Register.
I will then use the beforeRegister event and check if the Registering email address exist in the Members table first and then allow the Register procedure.