Returns a datasheet with information of the servers to which the user has access.
1 system.user.getServers
<system.user.getServers code='code'/>
Attributes | |||||
---|---|---|---|---|---|
Name | Type | Required | Default | Description | |
Acode | string | User code. |
Returns | |
---|---|
Type | Description |
dataSheet | Information of the servers to which has access. |
Example
Obtener información de servidores para el usuario por defecto.
Copy
<xsql-script name='system_user_getServers_sample1'> <body> <println> <system.user.getServers/> </println> </body> </xsql-script>
If you do not pass a user code via the attribute code, the system returns the value related with the user which executes the command.
Example
Obtain information of servers for a specific user.
Copy
<xsql-script name='system_user_getServers_sample2'> <body> <println> <system.user.getServers code='jet'/> </println> </body> </xsql-script>
Informing the attribute code, the system returns the value related with the specified user code.