ftos.identity.authz.RemoveGrantTagToUser
IMPORTANT!
Starting with v24.3.0, this is renamed from server.customSecurity.removeGrantTagToUser to ftos.identity.authz.RemoveGrantTagToUser.
Starting with v24.3.0, this is renamed from server.customSecurity.removeGrantTagToUser to ftos.identity.authz.RemoveGrantTagToUser.
Removes a data ownership tag ID assigned to a user (created with the ftos.identity.authz.createGrantTag method and assigned with the ftos.identity.authz.setGrantTagToUser method).
This is a data service method for business service components.
Syntax
Copy
ftos.identity.authz.RemoveGrantTagToUser(userID : string, dataOwnershipGrantTagId : string): void;
| Parameter | Type | Description |
|---|---|---|
userID
|
string | User account ID from which you want to remove the custom data ownership tag. |
dataOwernshipGrantTagId
|
string | ID of the custom data ownership tag you wish to remove. |
Examples
In this example, we remove the custom data ownership for the d4ba4503-bddd-4ac9-a8ff-0b9e99572af3 from the the 8F67C450-49BB-4651-BE04-317698715409 user account.
Copy
ftos.identity.authz.RemoveGrantTagToUser('8F67C450-49BB-4651-BE04-317698715409', 'd4ba4503-bddd-4ac9-a8ff-0b9e99572af3');