Desktop User Guides > Professional > Interview scripting > Using Interview Services > Salesforce Interview Service > ISalesforceService interface
 
ISalesforceService interface
The ISalesforceService interface properties are used by the InterviewServices object to configure the service. The interface can also be used within a standalone mrScriptBasic script, allowing the Salesforce.com service to be used outside of the Interview Services framework. For more information, see Accessing the Salesforce service from mrScriptBasic.
The ISalesforceService interface exposes the following members:
URL
The login URL for Salesforce.com and should not normally need to be changed. The Salesforce.com service will automatically switch to using the URL provided by Salesforce.com during the login process.
Type: String
Default value: https://login.salesforce.com/services/Soap/c/24.0
Username
The Salesforce.com login user name.
Type: String
Default value: Empty string
Password
The Salesforce.com login password. It might be necessary to append a security token. Refer to the Security Token topic on the Salesforce.com site for more information:
http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_concepts_security.htm#topic-title_login_token
Type: String
Default value: Empty string
LoginRefreshInterval
The ISalesforceService.ClientFactory.CreateClient() method returns a logged in client. The first client performs a login request and obtain the sessionId. Subsequent clients use that sessionId. If it is more than LoginRefreshInterval since the last client was created, a new login will occur to set a new sessionId.
Type: Long
Default value: 3600sec (60 minutes)
See also
Accessing the Salesforce service from the interview routing script
Accessing the Salesforce service from mrScriptBasic
Salesforce Interview Service