This article explains how to use Operation Binding to retrieve a filtered set of users from a database endpoint based on specific attribute values — in this case, filtering by the employeeGroup column.
Assume a database table contains the following columns:
employeeRole
employeeName
employeeGroup
The requirement is to retrieve only those users whose employeeGroup value equals 'Groups' during endpoint exploration.
Identity Manager 14.5.1 (Latest release)
Follow the steps to create a connector as outlined in the tech doc below:
How-To-Create-and-Deploy-connectors-guide
Follow the steps below to Configure Operation Binding Using a Script
Navigate to Operation Bindings
From the left navigation pane, select Operation Bindings. In the resulting window, click Create to define a new operation binding.
Configure Basic Parameters
In the pop-up window:
Choose the appropriate Object Class.
Set Type to Script.
Set Available Operation to Lookup.
Set Timing to Instead Of.
Validate Operation Binding Details
After creation, select the newly listed Lookup operation from the left pane. Review and confirm that the configuration settings are correct.
Attach a Script Function
Under Script Options, choose Execute a function in a global script. Click New to create a global script and enter your custom JavaScript code in the provided window.
Specify the Function Name
In the Function Name field, enter the exact name of the JavaScript function defined in the global script. This function will override the default correlation or lookup logic.
For more detailed guidance on operation bindings, refer to the technical documentation linked below:
Operations-binding-guide