---
schema_version: "1"
id: 7025bbcf571e57581a4b1229070354935f2c2a75def8d23a79511803a43224f1
title: User
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_tooling/tooling_api_objects_user.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_user.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: dbec037afa8bd347fd3d1e3bcefd88241f732e8920c7ec4b17fdedc8c9ff2ba8
description: Represents a user. You can retrieve standard fields on User with the Tooling API, but custom fields can’t be retrieved.
---
# User

Represents a user. You can retrieve standard fields on User with the Tooling API, but custom fields can’t be retrieved.

This object is available in API version 32.0 and later.

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

#### Note

User fields are exposed in SOAP API version 45.0 and later. You can use Tooling API to query for User fields in guest user mode in API version 44.0 and earlier. In API version 45.0 and later, use SOAP API to get this data in guest user mode. User is still exposed in Tooling API to User Profiles with the ViewSetup permission.

## Supported SOAP Calls

describeLayout(), getDeleted(), getUpdated(), query(), retrieve(), search(), update()

## Supported REST HTTP Methods

GET, PATCH

## Fields

| Field | Details |
| --- | --- |
| FirstName | 
Type

string

Properties

Create, Filter, Group, NillableSort, Update

Description

The user’s first name.



 |
| LastName | 

Type

string

Properties

Create, Filter, Group, NillableSort, Update

Description

The user’s last name.



 |
| Name | 

Type

string

Properties

Filter, Group, Sort

Description

Concatenation of FirstName and LastName. Limited to 121 characters.



 |
| Username | 

Type

string

Properties

Create, Filter, Group, idLookup, Sort, Update

Description

The name of the user in your organization.



 |
| WorkspaceId | 

Type

ID

Properties

Filter, Group, Nillable, Sort, Update

Description

The ID of the last open Developer Console workspace.



 |