set webmonitor role()

This function is used in conjunction with the module DataCockpit. DataCockpit allows you to assign roles to DataCockpit users. You can use the function here to assign a role to this profile run (job) in parameter a. If a role of a DataCockpit user matches the role assigned to the job, the job is displayed to the user in the DataCockpit.

The return value is a.

Parameters


Parameter

Description

a

The role's name. You can only assign one role to a profile run.

b

(optional) If "true", a previously set role for this profile run is not overwritten when the function is called again. With "false" it is.