system.kanoa.security.updateConfig(configInfo, userId)
Updates a security configuration property
Parameters
configInfo Dictionary
| - configDataType | String | |
| - configDescription | String | |
| - configId | Integer | |
| - configLabel | String | |
| - configName | String | |
| - configValue | String |
userId Integer
Returns
# of records modified Integer
msg String None if success
Example
userId = 5
configInfo = {'configId': 6, 'configName': 'allowGuest', 'configValue': '1', 'configLabel': 'Allow Guest', 'configDescription': 'allows guests to view assets', 'configDataType': 'boolean'}
configId, msg = system.kanoa.security.updateConfig(configInfo, userId)