Allows to determine the sql restrictions by transactions assigned to the user in the database to which is connected.
1 system.user.getRoleSQLTransaction
<system.user.getRoleSQLTransaction 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 returns the role code. |
Example
Visualize the role code and the sql restrictions which has on the transactions.
Copy
<xsql-script> <body> <println> <system.user.getRoleSQLTransaction/> </println> </body> </xsql-script>