system.kanoa.security.addUserToUserSource(userInfo)
Creates a new user in the gateway's default user source using information provided by the userInfo
Parameters
userInfo Dictionary
| String | ||
| - firstName | String | |
| - lastName | String | |
| - password | String | |
| - userName | String |
Returns
userObj PyObject A UIResponse object containing a list of errors, warnings and information returned after the add attempt.
Example
{'userId': 12, 'userName': 'JohnDoe', 'firstName': 'John', 'lastName': 'Doe', 'email': 'johndoe@gmail.com', 'password': 'password'}
system.kanoa.event.addUserToUserSource(userInfo)