Secure functions

Functions must be defined as secure before they can be called within RCAC definitions.

The SECURED attribute is required if the UDF is referenced in the definition of a row permission or column mask because the UDF will have access to data prior to the application of RCAC. The SECURED attribute is also required for a UDF that is invoked in an SQL statement when the function arguments reference columns that are activated with column access control.