Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

dam_getNextGrantee

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

This method is used to navigate the granted user list in the GRANT and REVOKE commands. This method is used in the ipDCL method.

int dam_getNextGrantee(
int64 hstmt,
StringBuilder szCatalog,
StringBuilder szGranteeName)

Parameters for dam_getNextGrantee

Parameter Type Description
IN    
hstmt int64 The statement handle
OUT    
szCatalog StringBuilder The name of the catalog
szGranteeName StringBuilder The name will be one of the following:
  • user name
  • role name
  • DAM_PUBLIC_USER_NAME – to indicate that the grantee is PUBLIC
  • 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