Skip to main content

system.kanoa.security.updateConfig

Description

Updates a security configuration option

Syntax

updateConfig(configInfo, userId)
  • Parameters
      configInfo (dict)
      - configId (int)
      - configName (string)
      - configValue (string)
      - configLabel (string)
      - configDescription (string)
      - configDataType (string)
      userId (int)
  • Returns
      PyDataSet.
  • Code 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)