environment_setting

The environment_setting function can be used to retrieve information on the Microsoft Windows context in which the Master Template is run.

The function has one parameter of type TEXT that contains the setting that the function retrieves. The function result is of type TEXT and holds the retrieved value.

All Microsoft Windows environment settings can be retrieved by passing their name as parameter to the environment_setting function.

An example is provided here.

 TEXT domain :=
environment_setting("USERDOMAIN")