Skip to content

security.applicationAddTag deprecated ​

Adds a tag to an application.

js
security.applicationAddTag(applicationId, tagName, dimensionId, hierarchyId, all)

Parameters ​

ParameterTypeDescription
applicationIdstringThe application id.
tagNamestringThe tag name.
dimensionIdstringId of the dimension.
hierarchyIdstringId of the hierarchy.
allbooleanIf it should be added to all elements in the hierarchy.

Returns ​

boolean

true if the tag was created; false on any of the error conditions above.

Examples ​

js
const added = security.applicationAddTag("MyActivityId", "Admin", "DimensionId", "HierarchyId", false);