Skip to main content

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:

NameValue
ShowOnlyFirstCharacters0
Change1
Hide2
RestrictedShow3

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:

NameValue
UnKnown0
FullName1
Address2
Email3
NationalIDNumber4
TaxNumber5
SocialSecurityNumber6
CreditCardNumber7
Iban8
BankAccountNumber9
InstitutionName10
Country11
City12
IPAddress13
Date14
InvoiceNumber15
Website16
Salary17
Amount18
BankName19

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:

NameValue
ShowFirstXCharacters0
ShowLastXCharacters1
ShowFirstLastXCharacters2
HideFirstXCharacters3
HideLastXCharacters4
HideFirstLastXCharacters5
ShowYear6
HideYear7
ShowMonth8
HideMonth9
ShowDay10
HideDay11
ShowHour12
HideHour13
ShowMinute14
HideMinute15
ShowSecond16
HideSecond17
HideCurrency18
HideAmount19

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.