TM1 Function for TI, SetHierarchyElementGroupsSecurity

Sets level of security to an element on a hierarchy to non-admin groups.

What is the SetHierarchyElementGroupsSecurity function?

SetHierarchyElementGroupsSecurity sets level of security to an element on a hierarchy to non-admin groups.

Where can the SetHierarchyElementGroupsSecurity function be used?

TurboIntegrator

Which TM1 Server version is this function available for?

Version 11 and 12

What is the syntax for SetHierarchyElementGroupsSecurity?

SetHierarchyElementGroupsSecurity(SecurityLevel, DimensionName, HierarchyName, ElementName); ​

SecurityLevel = Level of security to be granted to all non-admin groups to a given dimension element.​
DimensionName = Name of the parent dimension of the hierarchy ​
Hierarchy Name = Name of the parent hierarchy of the element to have security access set​
ElementName = Name of the element to have the security set to all non-admin groups. There are 6 types of security:​
– Admin
– Lock
– None
– Read
– Reserve
– Write 

A demonstration on how to use SetHierarchyElementGroupsSecurity

On the ‘Department’ dimension, use SetHierarchyElementGroupsSecurity to set READ access to the ‘No Department’ element from the ‘Department Name’ hierarchy.