e
q
u
e
s
t
a
d
e
m
o < back
API Reference: Names With Gender
{TOC}
"Name With Gender" API
API function
<.API.NET: function:
HushHush.MaskingLogic.SSRS.Mask.NameWithGenderRandom(string xxxxx(xxx,xxx,xxx)>data, string gender)
Expected input
<.expectedData: input:Any datanon-empty type,string
gender: rule,Gender sample>Clause (ex. Ms., Mrs, etc.). Can be empty.
Expected output
<.expectedGender output:is datanon-empty type,and rule,has sample>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�t contain gender clause: Common unisex name
Error handling
<.errorReturns handling>an empty string when passing empty or NULL value in name parameter.
Example
<.example>.NET:
In
HushHush.MaskingLogic.SSRS.Mask.NameWithGenderRandom(�Kate .net
InPortman�, SSRS
�Ms�)