DCManager - Global
-
- UpdatedJan 30, 2025
- 3 minutes to read
- Yokohama
- API reference
The DCManager API enables you to group data by type.
- Assign data classifications to existing dictionary entries.
- Look up the data classifications for specific dictionary entries.
- Remove all data classifications associated with specific dictionary entries.
- Retrieve a list of all data classifications available in the current domain.
This API requires the Data Classification [com.glide.data_classification] plugin.
For more information, see Data Classification.
DCManager - classify(String dictEntries, String dataClasses)
Assigns pre-defined or user-defined data classifications to existing dictionary entries.
Requires the admin or data_classification_admin role.
Name | Type | Description |
---|---|---|
dictEntries | String |
Sys_ids of the records you want to classify. Entered as a comma-separated list enclosed in a string.
Table: Dictionary [sys_dictionary] table |
dataClasses | String |
Sys_ids of the data classifications you want to assign. Entered as a comma-separated list enclosed in a string.
Table: Data Classification [data_classification] |
Type | Description |
---|---|
String | Message describing the result of the operation. |
Example
This example finds records containing social security numbers and classifies the records as confidential.
DCManager - clearClassification(String dictEntries)
Removes all data classifications for the specified dictionary entries.
Requires the admin or data_classification_admin role.
Name | Type | Description |
---|---|---|
dictEntries | String |
Sys_ids of the records you want to remove classifications from. Entered as a comma-separated list enclosed in a string.
Table: Dictionary [sys_dictionary] |
Type | Description |
---|---|
String | Message describing the result of the operation. |
Example
This example removes the data classification for a dictionary entry.
Output:
DCManager - getAllDataClasses()
Returns a list of all data classifications available in the current domain.
Requires the admin, data_classification_admin, or data_classification_auditor role.
Name | Type | Description |
---|---|---|
None |
Example
This example retrieves a list of all available data classifications.
Output:
DCManager - getClassification(String dictEntries)
Retrieves all data classifications for the specified dictionary entries.
Name | Type | Description |
---|---|---|
dictEntries | String |
Sys_ids of the records you want to retrieve classifications for. Entered as a comma-separated list enclosed in a string.
Table: Dictionary [sys_dictionary] |
Example
This example retrieves the data classifications for a dictionary entry.
Output: