Initialize the system as suid manager so that allows to execute scripts in manager mode.

1 system.setManager

<system.setManager />

Exceptions

system.setManager only available in batch mode.

You can only impletemt/execute in Batch mode process.

system.setManager only available in trusted hosts

The server where is executed should be trusted.

Example

Initialize the system as its id manager so that allows to execute scripts in manager mode.

Copy
<xsql-script name='system_setManager_sample1'>
    <body>
        <println>
            <system.setManager />
        </println>
    </body>
</xsql-script>

An example of returned value would be:

Copy
manager