The option Preprocessor relevant parameter is used to label a configuration parameter as preprocessor relevant. A preprocessor expression is entered in the associated configuration parameter option.
When a preprocessor relevant configuration parameter is set it is valid globally across the system. The preprocessor condition does not come into effect until the database has been compiled.
|
IMPORTANT: Each time a preprocessor relevant configuration parameter and the options are changed, the One Identity Manager database needs to be recompiled. |
|
NOTE: Predefined preprocessor configuration parameters are overwritten during schema installation. Define company specific preprocessor relevant configuration parameters and options in the configuration parameter "Custom". |
To display preprocessor relevant configuration parameters
This displays all the processor conditions. Double-click on an entry to display the configuration parameter.
|
NOTE: You can find an overview of existing preprocessor dependencies in the Designer in the category Database One Identity Manager Schema | Preprocessor dependencies. |
You can enter preprocessor conditions directly for certain objects. To simplify entering conditions, these objects have a property Preprocessor condition in which you can write a preprocessor expression.
|
IMPORTANT: Each modification to preprocessor objects requires recompiling the One Identity Manager database. |
|
TIP: You can link preprocessor expressions together with AND, OR, NOT, (). |
|
NOTE: You can find an overview of existing preprocessor dependencies in the Designer in the category Database One Identity Manager Schema | Preprocessor dependencies. |
The column Person.RiskIndexCalculated should only be shown in the interface if the risk function is set. The column Person.UID_PersonMasterIdentity is only shown if an employee has several identities to manage. The following preprocessor conditions are entered in the table DialogColumn.
Table | Column | Preprocessor condition |
---|---|---|
Employee | RiskIndexCalculated | COMPLIANCE |
Employee | UID_PersonMasterIdentity | PERSON_MASTERIDENTITY |
If you change the setting of a preprocessor relevant configuration parameter, tasks are created for the DBQueue Processor to calculate all preprocessor and calculation tasks for the affected objects. The option Disabled by preprocessor is updated for each object. If the re-interpretation of the preprocessor conditions leads to a change in the option, the preprocessor interpretation tasks that follow are generated for the dependent objects. User rights can also be affected. After DBQueue Processor has processed the tasks, the database needs to be recompiled.
The interpretation of preprocessor conditions has the following effects:
Preprocessor conditions can be used in VB.Net expressions. The preprocessor conditions are defined in the options for the preprocessor relevant configuration parameters.
|
IMPORTANT: Every modification to preprocessor conditions in VB.Net expressions requires recompiling the One Identity Manager database. |
Script code that is dependent on a preprocessor condition has to be passed in an #if...then...#else statement. The interpretation of the preprocessor conditions is not carried out until the script is generated.
#If <preprocessor_condition_1>
’ code, for this preprocessor condition
#ElseIf <preprocessor_condition_2> then
’ code, for this preprocessor condition
#Else
' other code
#Endif
Preprocessor conditions can be linked with the following operators:
AND
OR
NOT
()
The preprocessor condition "ITSHOP" is entered into the table DialogColumn for the column ADSGroup.IsForITShop. The template in column ADSGroup.DisplayName should reference the column IsForITShop. In order to remain compatible the following construction has to be used for the template:
#If ITSHOP Then
If $IsForITShop:Bool$ And $UID_AccProduct$ <> "" Then
Value = $FK(UID_AccProduct).Ident_AccProduct$
Else
value = $cn$
End If
#Else
value = $cn$
#End If
In order to become effective on a system-wide basis, every modification to preprocessor relevant configuration parameters as well as modifications to preprocessor conditions on objects and VB.Net expressions requires the One Identity Manager database to be recompiled.
The following is true for compiling:
These templates are valid for compiling:
© 2023 One Identity LLC. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy