Lucee Function Reference

Function SETPROFILESTRING

Sets the value of a profile entry in an initialization file.

Example

setprofilestring(string iniPath,string section,string entry,string value):string

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
iniPath string  Yes Absolute path of initialization file  
section string  Yes Section of the initialization file in which the entry is
to be set  
entry string  Yes Name of the entry to set  
value string  Yes Value to which to set the entry