This is the documentation for the development version.
There are no official binaries for it; build it from the source code in git.
Download links on these pages work only after the release.
For the current release, see version 7.0.
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