Creates a new User.

Parameters

name

The name of the new User.

email

The email of the new User.

password

The password of the new User.

Example

FM_api('User_new', ['name' => 'Test User', 'email' => user@domain.extension, 'password' => 'thisisapassword']);

Result

On Success

{'ok':1,'id':'This would be the ID of the newly created User, e.g 123.'}

On Failure

{'error':'This would be the error message.'}