skip to main content
OpenAccess SDK SQL Engine Core Functions API : Function Reference : dam_getNextGrantedObject/dam_getNextGrantedObjectW
 

dam_getNextGrantedObject/dam_getNextGrantedObjectW

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)
Table 134. 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