getUserData
Arguments
args (table): Conditions for searching the user. The key "identifier" corresponds to "citizenid".
additionalColumns (table, optional): Additional columns to return. Can include aliases in the format
"column as alias"
.callback (function): Callback function that will receive the user data.
Returns
userData (table): User data, including
citizenid
,identifier
,firstname
,lastname
,dob
(date of birth),sex
(gender), and other columns if specified.
Example Usage
Return Structure
If user is found:
If user is not found:
Last updated