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.

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.

Note

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.