def getRoleInfo( dbid )
      @dbid = dbid
      
      sendRequest( :getRoleInfo )
      
      @roles = getResponseElement( :roles )
      
      return self if @chainAPIcalls
      
      if block_given?
        role_list = getResponseElements( "qdbapi/roles/role" )
        if role_list
          role_list.each {|role| yield role}
        else
          yield nil
        end  
      else  
         @roles
       end
       
   end
def getRoleInfo( dbid )
      @dbid = dbid
      
      sendRequest( :getRoleInfo )
      
      @roles = getResponseElement( :roles )
      
      return self if @chainAPIcalls
      
      if block_given?
        role_list = getResponseElements( "qdbapi/roles/role" )
        if role_list
          role_list.each {|role| yield role}
        else
          yield nil
        end  
      else  
         @roles
       end
       
   end
API_GetRoleInfo