Delete Fake Profile
Deletes a fake/undercover profile from the registry database.
Export Syntax
exports['kartik-mdt']:DeleteFakeProfile(citizenId)Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
citizenId | string | Yes | The citizen's unique State ID/Citizen ID |
Return Value
- Returns
boolean:trueif the profile was successfully deleted,falseotherwise.
Example Usage
local citizenId = "UC9988"
local success = exports['kartik-mdt']:DeleteFakeProfile(citizenId)
if success then
print("Undercover identity has been purged from database.")
else
print("Failed to delete undercover identity.")
end