--- title: "set webmonitor role()" slug: "basic-set-web-monitor-role" updated: 2026-08-12T12:38:25Z published: 2026-08-12T12:38:25Z canonical: "docs.lobstersoftware.com/basic-set-web-monitor-role" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # 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. | Set of permissions that controls which modules, profiles, and features a user is allowed to access. Roles are assigned to users. Among other things, they regulate read, write and execute rights within the Lobster Data Platform. A profile is the central configuration unit in the Lobster Data Platform. It receives data, processes it, and forwards it. Configuration is done graphically, with no programming required.