skip to main content
OpenAccess SDK SQL Engine core methods for Java : Exchanging data : dam_getRole
 

dam_getRole

This method returns the user information in the CREATE ROLE and DROP ROLE commands. It is used in the ipDCL method.
void dam_getRole(
     long         hstmt,
     StringBuffer szCatalog,
     StringBuffer szRoleName)

for Commands

CREATE ROLE RoleName
DROP USER RoleName
Table 214. Parameters for dam_getRole
Parameter
Type
Description
INPUT
hstmt
long
The statement handle.
OUTPUT
szCatalog
StringBuffer
The database catalog.
szRoleName
StringBuffer
The name of the role.