Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

dam_getRole

  • Last Updated: May 12, 2026
  • 1 minute read
    • OpenAccess SDK
    • Version 8.1
    • Documentation

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

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.
TitleResults for “How to create a CRG?”Also Available inAlert