Description Usage Arguments Value See Also Examples
View source: R/rforcecom.login.R
This function retrives a session ID from Salesforce.com.
1 | rforcecom.login(username, password, loginURL, apiVersion)
|
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. |
sessionID |
Session ID. |
instanceURL |
Instance URL. |
apiVersion |
API Version. |
rforcecom.query
rforcecom.search
rforcecom.create
rforcecom.delete
rforcecom.retrieve
rforcecom.update
rforcecom.upsert
rforcecom.getServerTimestamp
rforcecom.getObjectDescription
rforcecom.getObjectList
rforcecom.queryMore
1 2 3 4 5 6 7 | ## Not run:
# Sign in to the Force.com
username <- "yourname@yourcompany.com"
password <- "YourPasswordSECURITY_TOKEN"
session <- rforcecom.login(username, password)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.