TM1 Function for TI – SetHierarchyGroupsSecurity
SetHierarchyGroupsSecurity sets level of security for a hierarchy to non-admin groups.
SetHierarchyGroupsSecurity(SecurityLevel, DimensionName, HierarchyName);
SecurityLevel = Level of security to be granted to all non-admin groups to a given dimension hierarchy.
DimensionName = Name of the parent dimension of the hierarchy
Hierarchy Name = Name of the hierarchy to have security access set. There are 6 types of security:
- Admin •Lock •None •Read •Reserve •Write
On the ‘Department’ dimension, use SetHierarchyGroupsSecurity to apply READ access to the ‘Department Name’ hierarchy.