GetBulkExclusiveLock (open)

Get an exclusive lock on multiple objects. Only works within the webserver process!

Syntax

LOADLIB "mod::tollium/lib/applications.whlib";

OBJECT FUNCTION GetBulkExclusiveLock(RECORD ARRAY tags, RECORD options)

Parameters

RECORD ARRAY tags

List of tags

RECORD tag
RECORD options

Options

STRING mode

Mode:

  • "try": Try to get the locks, take only the free locks
  • "requestclose": Request the locks from the users
  • "forceclose": Force close screens of users holding the lock
INTEGER takeovertime

Override default takeover time

OBJECT user
Possible objecttypes:

User object (required)

Return value

OBJECT
Possible objecttypes:

Status object