GetConfigurationVariable
- GetConfigurationVariable(key, defaultValue=null): String
-
Read server configuration parameter by
key.Table 1. Parameters key
Configuration parameter name to lookup.
defaultValue
Optional argument with default value if key is not found.
ReturnValue of the server configuration parameter. If key is not found,
defaultValueis returned if specified, otherwisenull. If the script is executed on behalf of a user without the "Edit server configuration variables" system access right, the variable is not read anddefaultValue(ornull) is returned.
>>> GetConfigurationVariable("Objects.StatusPollingInterval")
60
>>> GetConfigurationVariable("BadVariable")
NULL
>>> GetConfigurationVariable("BadVariable", 22)
22