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