system.kanoa.security.addUser(userInfo, userId)
Creates a new user, using information provided by the userInfo
Parameters
userInfo Dictionary
| String | ||
| - firstName | String | |
| - gatewayAdmin | Boolean | |
| - lastName | String | |
| - password | String | |
| - userName | String | |
| - userSource | String | The name of the user source i.e. 'default', 'AD/Internal' | 
userId Integer
Returns
userId Integer
msg String None if success
Example
userInfo = {'userName': 'JohnDoe', 'firstName': 'John', 'lastName': 'Doe', 'email': 'johndoe@gmail.com', 'usersource': 'default', 'gatewayAdmin': False, 'password': 'password'}
userId, msg = system.kanoa.security.addUser(userInfo, 123)