---
schema_version: "1"
id: 5c9beb2427958ffd20b4bd7369916f4f30407872686de2532e76e0aef2da3e29
title: Employee2
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_employee2.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_employee2.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 8f957a121c669a08849c3235dee659e0c643b8e706a45824629638c8d5ef8675
description: Represents an employee within a company or an organization. This object is available in API version 62.0 and later.
---
# Employee2

Represents an employee within a company or an organization. This object is available in API version 62.0 and later.

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

#### Important

Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.

## Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

## Special Access Rules

This object is available if Talent Recruitment Management is enabled in your org. It’s also available to customers who purchase the Unified Employee license.To access the object, you need one of these permission sets.

<table class="featureTable sort_table" summary="">


          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d703169e115">User Type</th>

              <th class="featureTableHeader  " id="d703169e118">Permission Set</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d703169e115" data-title="User Type">Internal Users</td>

              <td class="entry" headers="d703169e118" data-title="Permission Set">HR Service Workspace Personnel</td>

            </tr>

            <tr>
              <td class="entry" headers="d703169e115" data-title="User Type">Salesforce Platform Users</td>

              <td class="entry" headers="d703169e118" data-title="Permission Set">
                <p class="p">Employee Hub Community User</p>

                <p class="p">OR</p>

                <p class="p">Unified Employee Permission Set</p>

                <p class="p">OR</p>

                <p class="p">Work.com License</p>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d703169e115" data-title="User Type">Unified Employee Users</td>

              <td class="entry" headers="d703169e118" data-title="Permission Set">Unified Employee Permission Set</td>

            </tr>

          </tbody>

        </table>

## Fields

| Field | Details |
| --- | --- |
| AlternateEmail | 
Type

email

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The employee’s alternate email address.



 |
| ContactId | 

Type

reference

Properties

Create, Filter, Group, Sort

Description

The contact associated with the employee.

Relationship Name

Contact

Relationship Type

Master-detail

Refers To

Contact (the master object)



 |
| CurrencyIsoCode | 

Type

picklist

Properties

Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update

Description

The ISO currency code for the post-authorization request.

Valid value is:

- USD—U.S. Dollar

The default value is USD.



 |
| EmployeeNumber | 

Type

string

Properties

Create, Filter, Group, idLookup, Sort, Update

Description

The employee's unique ID for their organization.



 |
| EmployeeStatus | 

Type

picklist

Properties

Create, Filter, Group, Sort, Update

Description

The employee's current work status.

Valid values are:

- Active
- Inactive
- Leave
- Terminated





 |
| EmployeeType | 

Type

picklist

Properties

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

Description

The employee's full-time or part-time status.

Valid values are:

- Alumnus
- Contractor
- Permanent
- Intern
- Temporary





 |
| EmploymentType | 

Type

picklist

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The employee's full-time or part-time status.

Valid values are:

- Full-Time
- Part-Time





 |
| InternalOrganizationUnitId | 

Type

reference

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The internal organization unit associated with the employee.

Relationship Name

InternalOrganizationUnit

Refers To

InternalOrganizationUnit



 |
| LastReferencedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The timestamp for when the current user last viewed a record related to this record.



 |
| LastViewedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The timestamp for when the current user last viewed this record. If this value is null, it’s possible that the user only accessed the record or a related list view (LastReferencedDate), but not viewed the record itself.



 |
| Name | 

Type

string

Properties

Autonumber, Defaulted on create, Filter, idLookup, Sort

Description

The name of the employee record.



 |
| StatusEndDate | 

Type

dateTime

Properties

Create, Filter, Nillable, Sort, Update

Description

The planned end date for the employee’s status.



 |
| StatusStartDate | 

Type

dateTime

Properties

Create, Filter, Sort, Update

Description

The start date of the employee’s current status.



 |
| User | 

Type

reference

Properties

Create, Filter, Nillable, Sort, Update

Description

The user associated with the employee. After this field is set to a non-null value, you can’t update it.

Relationship Name

User

Description

User



 |