    # File estraierpure.rb, line 934
        def set_user(name, mode)
          Utility::check_types({ name=>String, mode=>Integer }) if $DEBUG
          @status = -1
          return false unless @url
          turl = @url + "/_set_user"
          reqheads = [ "Content-Type: application/x-www-form-urlencoded" ]
          reqheads.push("Authorization: Basic " + Utility::base_encode(@auth)) if @auth
          reqbody = "name=" + CGI::escape(name) + "&mode=" + mode.to_s
          rv = Utility::shuttle_url(turl, @pxhost, @pxport, @timeout, reqheads, reqbody, nil, nil)
          @status = rv
          rv == 200
        end