LassoScript Utility
Basics Browse Detail


Tag Link [Admin_SetPref] Category Administration
Type Substitution Source Available Yes
Support Preferred Version 8.0
Change Unchanged Data Source Any
Output Type None Security None
Implementation LDML Sets Lasso 8.5, Lasso 8.0


[Admin_SetPref] is used to set the values of preferences stored internally in Lasso. This tag requires administrator privileges to be run. Its required parameters can take two forms.

A preference name and value can be specified. The preference indicated by the first parameter is set to the new value specified by the second parameter.

The parameter can be map of preference names and values. Each preference in the map is set to the new value specified in the map.


[Admin_SetPref: 'lasso_uptime', (Date)]

[Admin_SetPref(Map('lasso_uptime'=Date, 'mypref'='myvalue'))]


Required Parameters
-Name Either the name of the preference to be set or a map of preference names and values to be set.
Optional Parameters
-Value If a preference name was specified then this parameter allows the new value for the preference to be specified.


See the Lasso 8 Language Guide for examples of how to use this tag.