molten-trunk/molten5_withgrid/vendor/activerecord-activesalesforce-adapter/lib/active_record/connection_adapters/rforce.rb
#Log in to the server and remember the session ID
#returned to us by SalesForce.
Log in to the server and remember the session ID
returned to us by SalesForce.
Log in to the server and remember the session ID returned to us by SalesForce .
def login(user, password)
      @user = user
      @password = password
      response = call_remote(:login, [:username, user, :password, password])
      raise "Incorrect user name / password [#{response.fault}]" unless response.loginResponse
      result = response[:loginResponse][:result]
      @session_id = result[:sessionId]
      init_server(result[:serverUrl])
      response
    end
def login ( user , password ) @user = user @password = password response = call_remote ( :login , [ :username , user , :password , password ] ) raise "Incorrect user name / password [#{response.fault}]" unless response . loginResponse result = response [ :loginResponse ] [ :result ] @session_id = result [ :sessionId ] init_server ( result [ :serverUrl ] ) response end
Log in to the server and remember the session ID
returned to us by SalesForce.
Log in to the server and remember the session ID returned to us by SalesForce .
user
password