|
|
Line 21: |
Line 21: |
|
| |
|
| [[NXSL:Node|Node]] object with given id or name on success or '''null''' on failure (either because node with given name/id does not exist, or access to it was denied). | | [[NXSL:Node|Node]] object with given id or name on success or '''null''' on failure (either because node with given name/id does not exist, or access to it was denied). |
|
| |
|
| |
| == Remarks ==
| |
|
| |
| Function's behavior depends on server's configuration parameter '''CheckTrustedNodes'''. By default access from script running for one node to another nodes are not allowed for security reasons (because if, for example, there are a user with write access to node A and no access to node B, it can create transformation script which will access node B and get information about it, thus breaking security settings). This security check can be disabled by setting server's configuration variable '''CheckTrustedNodes''' to '''0'''. Otherwise, system administrator have to maintain trusted nodes lists for each node being accessed from another node's scripts. For example, if '''$node''' in script refers to NODE1, and FindNodeObject($node, "NODE2") called, NODE1 must be added to list of trusted nodes for NODE2.
| |
|
| |
|
|
| |
|