Skip to content

EntityFieldExtensions.IsSensitiveFieldBasedOnInterfaces method

Returns true if the field is a sensitive field based on the row implementing interfaces like IPasswordRow (e.g. its password hash / salt), regardless of its name. This complements the name based detection in RowFieldsBase. The caller is responsible for checking any explicit attributes (e.g. MinSelectLevelAttribute) that may opt the field out of the default protection.

public static bool IsSensitiveFieldBasedOnInterfaces(Field field, IRow? row)
parameter description
field The field.
row The row instance, used to detect the sensitive interface fields.

Return Value

True if the field is a sensitive field based on the row interfaces.

See Also