Returns the name of the indicated user.
 

1 system.user.getName

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

Obtains the name of the user by default.

Copy
<xsql-script name='system_user_getName_sample1'>
    <body>
        <println>
            <system.user.getName />
        </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

Obtains the name of a specific user.

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

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