SecurityFiltering Property

Specifies how security filters are applied to the record.

Applies To

  • Record variables

  • Records on pages, reports, and XMLports

  • Query variables

Property Value

Value Description
Disallowed Security filters are not allowed on the record. If any security filters are set, then you receive an error when you run the object that uses this instance of the record.
Filtered All security filters are applied to this instance of the record.
Ignored All security filters are ignored for this instance of the record.
Validated All security filters are applied to this instance of the record and if any code tries to access a record that is outside the range of the security filters, then an error occurs.

Remarks

To specify the SecurityFiltering property in AL code, use the following syntax.

RecordVar.SecurityFiltering := SecurityFilter::<Disallowed|Filtered|Ignored|Validated>  

The value of the SecurityFiltering property on a record takes effect immediately and remains in effect through the lifetime of the variable, or until you change the value.

For more information, see Security Filter Modes.

See Also

Record-Level Security
Using Security Filters