def changePermission( dbid, uname, view, modify, create, delete, saveviews, admin )

      raise "changePermission: API_ChangePermission is no longer a valid QuickBase HTTP API request."

      @dbid, @uname, @view, @modify, @create, @delete, @saveviews, @admin = dbid, uname, view, modify, create, delete, saveviews, admin

      xmlRequestData = toXML( :dbid, @dbid )
      xmlRequestData << toXML( :uname, @uname )

      viewModifyPermissions = %w{ none any own group }

      if @view
         if viewModifyPermissions.include?( @view )
            xmlRequestData << toXML( :view, @view )
         else
            raise "changePermission: view must be one of " + viewModifyPermissions.join( "," )
         end
      end

      if @modify
         if viewModifyPermissions.include?( @modify )
            xmlRequestData << toXML( :modify, @modify )
         else
            raise "changePermission: modify must be one of " + viewModifyPermissions.join( "," )
         end
      end

      xmlRequestData << toXML( :create, @create ) if @create
      xmlRequestData << toXML( :delete, @delete ) if @delete
      xmlRequestData << toXML( :saveviews, @saveviews ) if @saveviews
      xmlRequestData << toXML( :admin, @admin ) if @admin

      sendRequest( :changePermission, xmlRequestData )

      # not sure the API reference is correct about these return values
      @username = getResponseValue( :username )
      @view = getResponseValue( :view )
      @modify =  getResponseValue( :modify )
      @create =  getResponseValue( :create )
      @delete = getResponseValue( :delete )
      @saveviews = getResponseValue( :saveviews )
      @admin = getResponseValue( :admin )

      @rolename = getResponseValue( :rolename )

      return self if @chainAPIcalls
      return @username, @view, @modify, @create, @delete, @saveviews, @admin, @rolename
    end
def changePermission( dbid, uname, view, modify, create, delete, saveviews, admin )

      raise "changePermission: API_ChangePermission is no longer a valid QuickBase HTTP API request."

      @dbid, @uname, @view, @modify, @create, @delete, @saveviews, @admin = dbid, uname, view, modify, create, delete, saveviews, admin

      xmlRequestData = toXML( :dbid, @dbid )
      xmlRequestData << toXML( :uname, @uname )

      viewModifyPermissions = %w{ none any own group }

      if @view
         if viewModifyPermissions.include?( @view )
            xmlRequestData << toXML( :view, @view )
         else
            raise "changePermission: view must be one of " + viewModifyPermissions.join( "," )
         end
      end

      if @modify
         if viewModifyPermissions.include?( @modify )
            xmlRequestData << toXML( :modify, @modify )
         else
            raise "changePermission: modify must be one of " + viewModifyPermissions.join( "," )
         end
      end

      xmlRequestData << toXML( :create, @create ) if @create
      xmlRequestData << toXML( :delete, @delete ) if @delete
      xmlRequestData << toXML( :saveviews, @saveviews ) if @saveviews
      xmlRequestData << toXML( :admin, @admin ) if @admin

      sendRequest( :changePermission, xmlRequestData )

      # not sure the API reference is correct about these return values
      @username = getResponseValue( :username )
      @view = getResponseValue( :view )
      @modify =  getResponseValue( :modify )
      @create =  getResponseValue( :create )
      @delete = getResponseValue( :delete )
      @saveviews = getResponseValue( :saveviews )
      @admin = getResponseValue( :admin )

      @rolename = getResponseValue( :rolename )

      return self if @chainAPIcalls
      return @username, @view, @modify, @create, @delete, @saveviews, @admin, @rolename
    end
API_ChangePermission (appears to be deprecated)