system.kanoa.security.updateUser
Description
Updates a user with the provided information.Syntax
addUser(userInfo, userId)Parameters:
Returns:
Dictionary
Parameter | Type | Required | Notes |
---|---|---|---|
userId | int | ||
userName | string | ||
firstName | string | ||
lastName | string | ||
string | |||
userSource | string | ||
gatewayAdmin | bool | ||
password | string |
Code Examples
# Example Usage:
retVal, msg = system.kanoa.security.updateUser({'userId': 12, 'userName': 'JohnDoe', 'firstName': 'John', 'lastName': 'Doe', 'email': 'johndoe@gmail.com', 'usersource': 'default', 'gatewayAdmin': False, 'password': 'password'}, 123)