In this recipe we will see how to apply security filter modes on record variables, records on page, reports, XMLports, and query variables.
Select the record variable on which you want to add a security filter mode.
Use the following syntax to apply a filter:
RecordVar.SecurityFiltering := SecurityFilter:: <Disallowed|Filtered|Ignored|Validated>
To change the security filtering property on the record variable, we have to simply apply the desired filter value to a property. The filter values are as follows:
Disallowed: No security filters are allowed on variables; if there is any filter applied, the system will fire error.
Filtered: All security filters are applied on the record variable.
Ignored: All security filters are ignored on the record variable.
Validated: All security filters are applied; on violation of a filter, an error will be generated.