IsRecFieldSensitive function

Syntax

IsRecFieldSensitive(Record_Name, Field_Name)

Description

Use the IsRecFieldSensitive function to return a Boolean value indicating whether the record field is flagged as sensitive.

Parameters

Parameter Description

Record_Name

Specifies the record name as a String value.

Field_Name

Specifies the field name as a String value.

Returns

A Boolean value. True if the record field is flagged as sensitive; False otherwise.

Example

&sourcefield = GetField(Field.RECNAME);
If (IsRecFieldSensitive(&sourcefield.ParentRecord.Name, &sourcefield.Name)) Then;
   /*apply masking*/
End-If;