    # File lib/chef/webui_user.rb, line 180
        def save
          r = Chef::REST.new(Chef::Config[:chef_server_url])
          begin
            r.put_rest("users/#{@name}", self)
          rescue Net::HTTPServerException => e
            if e.response.code == "404"
              r.post_rest("users", self)
            else
              raise e
            end
          end
          self
        end