---
schema_version: "1"
id: 659c91d1a8eb849eeea0bc926f962bccaf5ac129da5de80dbe49d6cec6c9ef42
title: SelfServiceUser
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_selfserviceuser.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_selfserviceuser.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: a5eaab764fdeefe24e9d7072f57db5e0f0cf58f810ec24a736d0aa0bef5eeec7
description: Represents a Contact who has been enabled to use your organization’s Self-Service portal, where he or she can obtain online support.
---
# SelfServiceUser

Represents a Contact who has been enabled to use your organization’s Self-Service portal, where he or she can obtain online support.

![Note](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/images/icon_note.png)

#### Note

Starting with Spring ’12, the Self-Service portal isn’t available for new Salesforce orgs. Existing orgs continue to have access to the Self-Service portal.

## Supported Calls

create(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), update(), upsert()

## Special Access Rules

Customer Portal users can't access this object.

## Fields

| Field | Details |
| --- | --- |
| ContactId | 
Type

reference

Properties

Create, Filter, Group, Sort

Description

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.



 |
| Email | 

Type

email

Properties

Create, Filter, Group, Sort, Update

Description

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 | 

Type

string

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

First name of the Self-Service user.



 |
| IsActive | 

Type

boolean

Properties

Create, Defaulted on create, Filter, Group, Sort, Update

Description

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 | 

Type

boolean

Properties

Defaulted on create, Filter

Description

Indicates whether the object has been moved to the Recycle Bin (true) or not (false). Label is **Deleted**.



 |
| LanguageLocaleKey | 

Type

picklist

Properties

Create, Filter, Group, Restricted picklist, Sort, Update

Description

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 | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

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



 |
| LastName | 

Type

string

Properties

Create, Filter, Group, Sort, Update

Description

Required. Last name of the Self-Service user.



 |
| LocaleSidKey | 

Type

picklist

Properties

Create, Filter, Group, Restricted picklist, Sort, Update

Description

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 | 

Type

string

Properties

Filter, Group, Sort

Description

Concatenation of FirstName and LastName. Limited to 203 characters, including whitespaces.



 |
| SuperUser | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

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 | 

Type

picklist

Properties

Create, Filter, Group, Restricted picklist, Sort, Update

Description

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 | 

Type

string

Properties

Create, Filter, Group, Sort, Update

Description

Required. This contains the name that a Self-Service user enters to log into the Self-Service portal. Value must be unique in your organization. If you try to create or update a user with a duplicate value, the operation is rejected and an error is returned.



 |

## Usage

For security reasons, you can’t query Self-Service user passwords via the API or the user interface. However, the API allows you to set and reset Self-Service user passwords using the setPassword() and resetPassword() calls.

SelfServiceUser records created from the API don’t 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](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_contact.htm "Represents a contact, which is a person associated with an account.")
- [User](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_user.htm "Represents a user in your organization.")