ftos.identity.authz.RemoveGrantTagOnRecord
IMPORTANT!
Starting with v24.3.0, this is renamed from server.customSecurity.removeGrantTagOnRecord to ftos.identity.authz.RemoveGrantTagOnRecord.
Starting with v24.3.0, this is renamed from server.customSecurity.removeGrantTagOnRecord to ftos.identity.authz.RemoveGrantTagOnRecord.
Removes any data ownership tag ID assigned to a record (created with the ftos.identity.authz.createGrantTag method and assigned with the ftos.identity.authz.setGrantTagOnRecord method).
This is a data service method for business service components.
Syntax
Copy
ftos.identity.authz.RemoveGrantTagOnRecord(entityName : string, recordId : string): void;
| Parameter | Type | Description |
|---|---|---|
entityName
|
string | Name of the parent entity associated with the record from which you want to remove the custom data ownership tag. |
recordId
|
string | ID of the record from which you want to remove the custom data ownership tag. |
Examples
In this example, we remove the custom data ownership tag for the record d4ba4503-bddd-4ac9-a8ff-0b9e99572af3 in the jointAccounts entity.
Copy
ftos.identity.authz.RemoveGrantTagOnRecord('jointAccounts', 'd4ba4503-bddd-4ac9-a8ff-0b9e99572af3');