MaskingOptionItemObject Properties
An object defining properties for the MaskingOptionItemObject class.
ActionType
Gets or sets the type of masking action to be applied to the data.
Type: DataMaskingActionType
Accepted Values:
Name Value ShowOnlyFirstCharacters 0 Change 1 Hide 2 RestrictedShow 3
The ActionType property determines the general masking strategy to be used, such as showing only first characters, hiding completely, or applying restricted visibility rules.
Category
Gets or sets the category of data to which the masking options will be applied.
Type: DataCategories
Accepted Values:
Name Value UnKnown 0 FullName 1 Address 2 3 NationalIDNumber 4 TaxNumber 5 SocialSecurityNumber 6 CreditCardNumber 7 Iban 8 BankAccountNumber 9 InstitutionName 10 Country 11 City 12 IPAddress 13 Date 14 InvoiceNumber 15 Website 16 Salary 17 Amount 18 BankName 19
The Category property specifies the type of sensitive data (such as email, credit card number, etc.) that this masking configuration targets.
ActionValue
Gets or sets the custom value to be used with the masking action.
Type: string
The ActionValue property provides additional configuration for the masking action, such as replacement characters or specific masking patterns.
RestrictedShowOptions
Gets or sets the detailed configuration for restricted data visibility.
Type: Dictionary<DataRestrictedShowOptions, int>
Accepted Values:
Name Value ShowFirstXCharacters 0 ShowLastXCharacters 1 ShowFirstLastXCharacters 2 HideFirstXCharacters 3 HideLastXCharacters 4 HideFirstLastXCharacters 5 ShowYear 6 HideYear 7 ShowMonth 8 HideMonth 9 ShowDay 10 HideDay 11 ShowHour 12 HideHour 13 ShowMinute 14 HideMinute 15 ShowSecond 16 HideSecond 17 HideCurrency 18 HideAmount 19
The RestrictedShowOptions property contains a mapping of specific visibility options to their corresponding numeric values, allowing fine-grained control over how different parts of the data are displayed or hidden.