This is the documentation for the development version. There are no official binaries for it; build it from the source code in git. Download links on these pages work only after the release. For the current release, see version 7.0.

GetServerNode

GetServerNode(currentNode): Node

Get node object of the management server.

If trusted object validation is enforced, currentNode must be given and the server node must trust it.

Table 1. Parameters

currentNode

Node

Optional. Execution context node ($node in most cases), or null.

Return

Node instance, or null if the script has no access to the server node.

>>> GetServerNode()
Node@0x7facac2889e0