Not logged in - Login


R
e
q
u
e
s
t

a

d
e
m
o
< back

API Reference: Names With Gender

{TOC}

"Name With Gender" API

API function

.NET:

HushHush.MaskingLogic.SSRS.Mask.NameWithGenderRandom(string data, string gender)

Expected input

Data: Any non-empty string gender: Gender Clause (ex. Ms., Mrs, etc.). Can be empty.

Expected output

Gender is non-empty and has valid gender format or name contains gender clause: Common Name with corresponding gender (nvarchar(MAX)) Gender is empty or has invalid format and name doesn�tdoesn`t contain gender clause: Common unisex name

Error handling

Returns an empty string when passing empty or NULL value in name parameter.

Example

.NET:

HushHush.MaskingLogic.SSRS.Mask.NameWithGenderRandom(�KateHushHush.MaskingLogic.SSRS.Mask.NameWithGenderRandom("Kate Portman�,Portman", �Ms�)"Ms")

Download a Trial