Confirms a users username and password, and optionally returns user information.
If returnUserInfo is set to false, this method will return the user id when the settings were correct. This method always returns false when username or password is incorrect.
If login is set to true a session will be started and the system will return a sessiontoken property in the userData struct. read more »
This method registers a new user.
Optionally the user can be activated immediately. If the email parameter contains a string, an email template named by that string will used to send out an activation or welcome email.
The return value is the newly created user id.
This method can only be called with a valid developer key.
Required fields for userData are user and read more »