Represents a Self-Service user. For details on how to implement Self-Service users, download the Self-Service Implementation Guide at http://na1.salesforce.com/help/doc/en/salesforce_selfservice_implementation_guide.pdf. Also, see “Setting Up Self-Service” in the Salesforce.com online help.
| Field | Field Type | Field Properties | Description |
|---|---|---|---|
| ContactId | reference | Create | Required. All Self-Service users must be associated with a Contact. The contact’s email should match the Self-Service user email. The contact must have a value in the AccountID field or an error occurs. For information on IDs, see ID Field Type. |
| Create | Required. Make this the same as the email address for the Contact associated with this SelfServiceUser. Password resets and other system communication will be sent to this email address. | ||
| FirstName | string | Create | First name of the Self-Service user. |
| IsActive | boolean | Create | Indicates whether the Self-Service user is allowed to log in to the Self-Service portal (true) or not (false). Note that there is no way to delete a Self-Service user. They can only be marked as inactive. |
| IsDeleted | boolean | Defaulted on create | Indicates whether the record has been moved to the Recycle Bin (true) or not (false). Label is Deleted. |
| LanguageLocaleKey | picklist | Create | Required. This is a restricted picklist field. It is the primary language for the user. All on-screen text in the Self-Service portal is displayed in this language. |
| LastLoginDate | dateTime | Filter | The date and time when the Self-Service user last logged in. |
| LastName | string | Create | Required. Last name of the Self-Service user. |
| LocaleSidKey | picklist | Create | Required. This is a restricted picklist field. The value of this field affects the formatting and parsing of values, especially numeric values, in the Self-Service portal. Values are two-letter codes that indicate language and sometimes language and country. The codes are based on ISO standards. |
| Name | string | Filter | Concatenation of FirstName and LastName. Limited to 121 characters. |
| SuperUser | boolean | Defaulted on create |
Indicates whether this Self-Service user is a super user with additional access on his or her company's Self-Service portal (true) or not (false). |
| TimeZoneSidKey | picklist | Create | Required. This is a restricted picklist field. The time zone of a affects the offset used when displaying or entering times in the Self-Service portal. |
| Username | string | Create | Required. This contains the name that a enters to log into the Self-Service portal. Value must be unique in your organization. If you try to create or update a with a duplicate value, the operation is rejected and an error is returned. |
For security reasons, you cannot query Self-Service user passwords via the API or the Salesforce.com user interface. However, the API allows you to set and reset Self-Service user passwords using the setPassword() and resetPassword() calls.
SelfServiceUser objects created from the API do not cause a notification email to be sent. If you want to notify the user, you must send them an email after creating the user.