dam_getNextGrantedObject/dam_getNextGrantedObjectW
- Last Updated: May 12, 2026
- 1 minute read
- OpenAccess SDK
- Version 8.1
- Documentation
These functions are used to navigate the granted object list in the GRANT and REVOKE commands of the IP DCL function. The object can be a table, view or procedure.
int dam_getNextGrantedObject(
DAM_HSTMT hstmt,
char * szQualifier,
char * szOwner,
char * szName)
int dam_getNextGrantedObjectW(
DAM_HSTMT hstmt,
OAWCHAR *szQualifier,
OAWCHAR *szOwner,
OAWCHAR *szName)
Parameters for dam_getNextGrantedObject/dam_getNextGrantedObjectW
| Parameter | Type | Description |
| IN | ||
| hstmt | DAM_HSTMT | The statement handle. |
| OUT | ||
| szQualifier | char * | The qualifier of the object. Pass in a buffer of 128 characters. |
| szOwner | char * | The owner of the object. Pass in a buffer of 128 characters. |
| szName | char * | The name of the object. Pass in a buffer of 128 characters. |
| RETURN | ||
| int | DAM_SUCCESS - on success DAM_FAILURE - on failure DAM_NO_DATA_FOUND - on end of list |