Newer Version Available
Utility Calls
This topic describes API calls
that your client applications can invoke to obtain the system timestamp,
user information, and change user passwords.
The following table lists the API utility calls described in this topic:
| Task / Call | Description |
|---|---|
| getServerTimestamp() | Retrieves the current system timestamp from the API. |
| getUserInfo() | Retrieves personal information for the user associated with the current session. |
| renderEmailTemplate() | Replaces merge fields in the text bodies of email templates with their corresponding Salesforce record IDs, even for polymorphic fields. The email template bodies and their corresponding whoId and whatId values are specified in the argument. |
| resetPassword() | Changes a user’s password to a system-generated value. |
| sendEmail() | Immediately sends an email message. |
| sendEmailMessage() | Immediately sends up to 10 draft email messages. |
| setPassword() | Sets the specified user’s password to the specified value. |
Samples
The samples in this section are based on the enterprise WSDL file. They assume that you have already imported the WSDL file and created a connection. To learn how to do so, see the Quick Start tutorial.