Skip to contents

[Soft-deprecated]

Usage

rforcecom.login(
  username,
  password,
  loginURL = "https://login.salesforce.com/",
  apiVersion = "35.0"
)

Arguments

username

Your username for login to the Salesforce.com. In many cases, username is your E-mail address.

password

Your password for login to the Salesforce.com. Note: DO NOT FORGET your Security Token. (Ex.) If your password is "Pass1234" and your security token is "XYZXYZXYZXYZ", you should set "Pass1234XYZXYZXYZXYZ".

loginURL

(optional) Login URL. If your environment is sandbox specify (ex:) "https://test.salesforce.com".

apiVersion

(optional) Version of the REST API and SOAP API that you want to use. (ex:) "35.0" Supported versions from v20.0 and up.

Value

sessionID

Session ID.

instanceURL

Instance URL.

apiVersion

API Version.