Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

dam_getNextGrantedObject

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

This method is used to navigate the granted object list in the GRANT and REVOKE commands. This method is used in the ipDCL method. The object can be a table, view, or procedure.

int dam_getFirstGrantedObject(
    long         hstmt,
    StringBuffer szQualifier, 
    StringBuffer szOwner, 
    StringBuffer szName)

Parameters for dam_getNextGrantedObject

Parameter Type Description
INPUT
hstmt long The statement handle.
OUTPUT
szQualifier StringBuffer The qualifier of the object.
szOwner StringBuffer The owner of the object.
szName StringBuffer The name of the object.
RETURN
int DAM_SUCCESS - on success
DAM_FAILURE - on failure
DAM_NO_DATA_FOUND - on end of list
TitleResults for “How to create a CRG?”Also Available inAlert