Returns the language of the indicated user.

1 system.user.getLang

<system.user.getLang code='code'/>
Example

Obtain the user's language by default.

Copy
<xsql-script name='system_user_getLang_sample1'>
    <body>
        <println>
            <system.user.getLang />
        </println>
    </body>
</xsql-script>

If you do not pass the user code via the attribute code, the system returns the value related with the user which executes the command.

Example

Obtain the language of a specified user.

Copy
<xsql-script name='system_user_getLang_sample2'>
    <body>
        <println>
            <system.user.getLang code='bpr'/>
        </println>
    </body>
</xsql-script>

Informing the attribute code, the system returns the value related with the specified user code.