skip to main content
OpenAccess SDK SQL Engine core methods for .NET : Methods for .NET reference : dam_getNextGrantedObject
 

dam_getNextGrantedObject

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)
 
Table 159: 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