Controller 23.4

# LuaConfig Methods

A `LuaConfig` object provides access to configuration information. You can retrieve a `LuaConfig` for a given configuration file using the `get_config` function.

If you have a `LuaConfig` object called `config` you can call its methods using the '`:`' operator. For example:

    config:getValue(sectionName, parameterName)

Constructor | Description
--- | ---
LuaConfig:new | The constructor for a `LuaConfig` object (creates a new `LuaConfig` object).

Method | Description
--- | ---
getEncryptedValue | Returns the unencrypted value from the config of an encrypted value.
getValue | Returns the value of the configuration parameter key in a given section.
getValues | Returns all the values of a configuration parameter if you have multiple values for a key (for example, a comma-separated list or numbered list like keyN).

Copyright 2015-2023 Open Text
Version 23.4 | Last updated September 2023

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Controller 23.4

Topic Title: LuaConfig Methods