IsRecFieldPII function

Syntax

IsRecFieldPII(Record_Name, Field_Name)

Description

Use the IsRecFieldPII function to return a Boolean value indicating whether the record field is flagged as PII (personally identifiable information).

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 PII; False otherwise.

Example

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