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 change the SecurityFiltering property on a record variable, either select the value in the Properties window of the variable, or specify the value in C/AL code. To change the SecurityFiltering property on an implicit record on a page, report, or XMLport, you must specify the value in C/AL code.

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

 Copy Code
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.

See Also