SecurityOverlayGlobalLockCell

SecurityOverlayGlobalLockCell is used to restrict the access rights of a node to read-only by locking it. It uses the global overlay so all users are affected. The overlay cube must be created prior to using this command. The elements provided in the address must be only for the dimensions used in the overlay.

The process must be configured to modify security data to successfully execute SecurityOverlayGlobalLockCell.

The function returns True if successful and a major error if unsuccessful.

This function is valid in TM1® TurboIntegrator processes only.

Syntax

SecurityOverlayGlobalLockCell(bLock, Cube, element1,..., elementN)

Argument

Description

bLock

If 1 lock it. 0 unlock it
Cube

Name of the cube.

elementN

Overlay element name that defines the tuple. The order must match the original dimension order of the cube.

Example

SecurityOverlayGlobalLockCell(1,’Sales’,’MA’);           
SecurityOverlayGlobalLockCell(0,’Products’,’MA','2011’);           

In the first example, there is only one dimension used for the overlay. The second example uses two dimensions.