| 
        
        Parameter
         | 
      
        
        Type
         | 
      
        
        Description
         | 
     
| 
        
        IN
         | 
      ||
| 
        
        hdbc
         | 
      
        
        IP_HDBC
         | 
      
        
        The connection handle as defined by the IP.
         | 
     
| 
        
        hstmt
         | 
      
        
        DAM_HSTMT
         | 
      
        
        The statement handle of the currently active statement.
         | 
     
| 
        
        iType
         | 
      
        
        int
         | 
      
        
        Type of command requested:
        
       
        DAM_CREATE_USER - create a user.
        
       
        DAM_DROP_USER - drop a user.
        
       
        DAM_CREATE_ROLE - create a role.
        
       
        DAM_DROP_ROLE - drop a role.
        
       
        DAM_GRANT - grant a privilege.
        
       
        DAM_REVOKE - revoke a privilege.
         | 
     
| 
        
        OUT
         | 
      ||
| 
        
        piNumResRows
         | 
      
        
        int64 *
         | 
      
        
        The number of rows affected by this operation.
         | 
     
| 
        
        RETURN
         | 
      ||
| 
        
        int
         | 
      
        
        DAM_SUCCESS - on success
        
       
        DAM_FAILURE - on failure
         |