You are here: Using LabTech > Scripts > CreatingScripts > If Role Detected

If Role Detected

If the specified role is detected, runs in the THEN component. Otherwise, it runs in the ELSE component. This runs on the server.

Parameters

Examples

Example #1: Launches the '_LTSG Role Detected IF Component Function' example script

Variable Set function

Parameters:

Script Run function

Parameters:

_LTSG Role Detected IF Component Function example script

Parameters:

IF: Role Detected