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(
int64 hstmt,
StringBuilder szQualifier,
StringBuilder szOwner,
StringBuilder szName)
Parameters for dam_getNextGrantedObject
| Parameter | Type | Description |
| IN | ||
| hstmt | int64 | The statement handle |
| OUT | ||
| szQualifier | StringBuilder | The qualifier of the object |
| szOwner | StringBuilder | The owner of the object |
| szName | StringBuilder | The name of the object |
| RETURN | ||
| int | DAM_SUCCESS – on success DAM_FAILURE – on failure DAM_NO_DATA_FOUND – on end of list |