ftos.identity.authz.getGrantTagOnRecord

IMPORTANT!  
Starting with v24.3.0, this is renamed from server.customSecurity.getGrantTagOnRecord to ftos.identity.authz.getGrantTagOnRecord.

Retrieves 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.GetGrantTagOnRecord(entityName : string, recordId : string): string;
 
Parameter Type Description
entityName string Name of the parent entity associated with the record from which you want to retrieve the custom data ownership tag.
recordId string ID of the record from which you want to retrieve the custom data ownership tag.

Return Value

Returns a string containing the custom data ownership tag ID.

Examples