Allows to determine the sql restrictiones by object assigned to the user in the database to which is connected.
1 system.user.getRoleSQLObject
<system.user.getRoleSQLObject code='code'/>
Attributes | |||||
---|---|---|---|---|---|
Name | Type | Required | Default | Description | |
Acode | string | Allows to indicate a table or object of the system. |
Returns | |
---|---|
Type | Description |
string | If the attribute code is informed, it returns the restriction which has on this table or object, if not it returns the role code. |
Example
Visualize the role code and the sql restriction which has on the capuntes object.
Copy
<xsql-script> <body> <println> <system.user.getRoleSQLObject/> </println> <println> <system.user.getRoleSQLObject code='capuntes' /> </println> </body> </xsql-script>