Returns true or false if the current user is DBA on the active database.
1 connection.isDBA
<connection.isDBA />
Returns | |
---|---|
Type | Description |
Boolean | True if the current user is DBA on the active database. |
Remarks
The way to obtain if a user is DBA, is done through a select that should be defined in the corresponding driver to the database (wic_dbms_drivers) SQL parameter to determine if it is DBA.
Example
Print if the user is DBA or not.
Copy
<xsql-script name='sample_dba'> <body> <println> <connection.isDBA /> </println> </body> </xsql-script>