Lucee Function Reference

getprofilesections()

Gets all the sections of an initialization file.
An initialization file, as a struct whose format is as follows:
- Each initialization file section name is a key in the
struct
- Each list of entries in a section of an initialization
file is a value in the struct

Example

getprofilesections(string iniFile):struct

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
iniFile string  Yes path to an ini file.