[Admin_GetPref]

Administration

Substitution

Preferred

8.0

[Admin_GetPref] is used to fetch the values of preferences stored internally in Lasso. This tag requires administrator privileges to be run. It requires one parameter which can take two forms.

The parameter can be the name of a single preference to be fetched. In this case the value of the preference is returned by the tag. Null is returned if the preference is not set.

The parameter can be map of preference names and values. Each preference in the map is fetched and the value in the map is set to the new value. If a preference cannot be found then the value in the map is not modified. The modified map is returned as the tag value.

[Admin_GetPref: 'lasso_uptime']

[Admin_GetPref(Map('lasso_uptime'='', 'mypref'=''))]

[Admin_GetPref]