- Home
- Developer Center
- Documentation API Data Masking Components
- State Province
API Data Masking Components
API Reference
API Data Masking Components
Open Navigation Article
- Home
- Developer Center
- Documentation API Data Masking Components
- State Province
State Province API
API function
.NET:
HushHush.MaskingLogic.SSRS.Mask.StateProvincesRandom(string data)
Expected input
Data: Valid USA state or territory name or code or Valid Canadian Province (based on ISO 3166-1)
Expected output
Generic USA or Canadian state/province or USA territory name (format depends on input, based on ISO 3166-1) (nvarchar(MAX))
Error handling
Returns an empty string when passing empty or NULL value. Fails on invalid state/province name or code
Example
.NET:
HushHush.MaskingLogic.SSRS.Mask.StateProvincesRandom(“Texas”)
×
API Reference: State Province
API Reference: State Province
- 1. State Province API
- 1.1 API function
- 1.2 Expected input
- 1.3 Expected output
- 1.4 Error handling
- 1.5 Example
API Data Masking Components
API Reference