| 
        
        Parameter
         | 
      
        
        Type
         | 
      
        
        Description
         | 
     
| 
        
        IN
         | 
      
        | 
      
        | 
     
| 
        
        hstmt
         | 
      
        
        int64
         | 
      
        
        The statement handle
         | 
     
| 
        
        OUT
         | 
      
        | 
      
        | 
     
| 
        
        szCatalog
         | 
      
        
        StringBuilder
         | 
      
        
        The name of the catalog
         | 
     
| 
        
        szGranteeName
         | 
      
        
        StringBuilder
         | 
      
        
        The name will be one of the following:
        
       
        • user name
        
       
        • role name
        
       
        • DAM_PUBLIC_USER_NAME – to indicate that the grantee is PUBLIC
         | 
     
| 
        
        RETURN
         | 
      
        | 
      
        | 
     
| 
        | 
      
        
        int
         | 
      
        
        DAM_SUCCESS – on success
        
       
        DAM_FAILURE – on failure
        
       
        DAM_NO_DATA_FOUND – on end of list
         |