SelfServiceUser

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.

Supported Calls

getUpdated(), login(), getServerTimestamp()

Special Access Rules

Customer Portal users cannot access this object.

Fields

Field Field Type Field Properties Description
ContactId reference Create

Filter

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.
Email email Create

Filter

Update

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

Filter

Nillable

Update

First name of the Self-Service user.
IsActive boolean Create

Defaulted on create

Filter

Update

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

Filter

Indicates whether the record has been moved to the Recycle Bin (true) or not (false). Label is Deleted.
LanguageLocaleKey picklist Create

Filter

Restricted picklist

Update

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

Nillable

The date and time when the Self-Service user last logged in.
LastName string Create

Filter

Update

Required. Last name of the Self-Service user.
LocaleSidKey picklist Create

Filter

Restricted picklist

Update

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

Filter

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

Filter

Restricted picklist

Update

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

Update

Create

Filter

Update

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.

Usage

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.

See Also:
Contact
User
© Copyright 2000-2010 salesforce.com, inc. All rights reserved.
Various trademarks held by their respective owners.