Newer Version Available

This content describes an older version of this product. View Latest

Profile

Represents a user profile. A profile defines a user’s permission to perform different functions within Salesforce.

This object is available in API version 32.0 and later.

Supported SOAP Calls

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

Supported REST HTTP Methods

GET, HEAD

Special Access Rules

As of Summer ’20 and later, Customer Portal and Partner Portal users cannot access this object.

To view the following settings, assignments, and permissions for standard and custom objects in a specified profile, the View Setup and Configuration permission is required.
  • Client settings
  • Field permissions
  • Layout assignments
  • Object permissions
  • Permission dependencies
  • Permission set tab settings
  • Permission set group components
  • Record types

Fields

Field Details
Description
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The profile description, limited to 255 characters.
FullName
Type
string
Properties
Create, Group, Nillable
Description
The unique profile name. Use this name when creating the profile, before you have an ID. This name can contain only underscores and alphanumeric characters, and must be unique in your org. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores.
Query this field only if the query result contains no more than one record. Otherwise, an error is returned. If more than one record exists, use multiple queries to retrieve the records. This limit protects performance.
Metadata
Type
ProfileMetadata
Properties
Create, Nillable, Update
Description
The profile metadata.
Query this field only if the query result contains no more than one record. Otherwise, an error is returned. If more than one record exists, use multiple queries to retrieve the records. This limit protects performance.
Name
Type
string
Properties
Filter, Group, idLookup, Sort
Description
The profile name.
TimeSheetTemplateAssignments
Type
tns:QueryResult
Properties
Nillable
Description
The time sheet template that you assign to a particular profile. Because this field represents a relationship, use it only in subqueries. This field is available in Tooling API version 46.0 and later.