getSystemPropOrEnvVar

Returns the system properties and environment variables Lucee supports, or the configured value of one of them.

getSystemPropOrEnvVar([property]) → returns any

This function requires Lucee 6.2.1.23 and up.  Not supported on Adobe ColdFusion, etc.

Argument Reference

property string

The name of a property. When given, its configured value is returned.

Examples
Sample code invoking the getSystemPropOrEnvVar function

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub