system.kanoa.security.addUser
Description
Creates a new user with the provided information.Syntax
addUser(paramsDict, userId)- paramsDict (Dictionary) - User information such as userName, firstName, lastName, email.
- userId (Integer) - User ID.
- userObj (PyObject) - User object.
Code Example
# Example Usage:
newUserObj = system.kanoa.security.addUser({'userName': 'JohnDoe', 'firstName': 'John', 'lastName': 'Doe', 'email': 'johndoe@gmail.com', 'password': 'password'}, 123)