---
schema_version: "1"
id: 7752eba0a4392ffc8f50c5cbc185a8ab169bceea89912ae4609f0ab8a03b5ba9
title: UserEntityAccess
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_tooling/tooling_api_objects_userentityaccess.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_userentityaccess.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: def5a98ee44bc8a1c4f6c12d309f5c1266d25ed86fb0cc3105e1d7536a916de0
description: Represents the access that the current user has to an object. Available in Tooling API version 34.0 and later.
---
# UserEntityAccess

Represents the access that the current user has to an object. Available in Tooling API version 34.0 and later.

## Supported SOAP Calls

query(), search()

## Supported REST HTTP Methods

GET

## Limitations

[SOQL Limitations](https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/reference_objects_soql_limits.htm "Some Tooling API objects have SOQL limitations. These limitations apply to any Metadata Catalog query, which applies to all Custom Metadata Types and Metadata Catalog entities, not only the ones explicitly listed.")

[SOSL Limitations](https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/reference_objects_sosl_limits.htm "Two Tooling API objects, EntityDefinition and FieldDefinition, have some SOSL limitations. ExternalString and MetadataComponentDependency (Beta) don’t support SOSL searches.")

## Fields

| Field | Details |
| --- | --- |
| DurableId | 
Type

string

Properties

Filter, Group, Nillable, Sort

Description

Unique identifier for the field. Always retrieve this value before using it, as the value isn’t guaranteed to stay the same from one release to the next. To simplify queries, use this field.



 |
| EntityDefinition | 

Type

EntityDefinition

Properties

Filter, Group, Nillable, Sort

Description

The entity definition for the object associated with this user entity access record. Because this field represents a relationship, use only in subqueries.



 |
| EntityDefinitionId | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

ID of the EntityDefinition.



 |
| IsActivateable | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

If true, the user specified in the User field has access to activate records of the associated object type if the User owns them. For example, a user owns an Apex trigger or workflow rule, and can activate them if this field is true for ApexTrigger or WorkflowRule.



 |
| IsCreatable | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

If true, the user specified in the User field has access to create records of the associated object type.



 |
| IsDeletable | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

If true, the user specified in the User field has access to delete records of the associated object type.



 |
| IsEditable | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

If true, the user specified in the User field has access to edit records of the associated object type.



 |
| IsFlsUpdatable | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

If true, the user specified in the User field has access to change field-level security settings on appropriate fields of the associated object type. For example, an administrator could deny a group of users access to the Type field on Account.



 |
| IsMergeable | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

If true, the user specified in the User field has access to merge records of the associated object type.



 |
| IsReadable | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

If true, the user specified in the User field has access to view records of the associated object type.



 |
| IsUndeletable | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

If true, the user specified in the User field has access to undelete records of the associated object type.



 |
| IsUpdatable | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

If true, the user specified in the User field has access to edit records of the associated object type.



 |
| User | 

Type

User

Properties

Filter, Group, Nillable, Sort

Description

The user who has the access defined in this user entity access record, for the entity specified in the EntityDefinition field. Because this field represents a relationship, use only in subqueries.



 |
| UserId | 

Type

ID

Properties

Filter, Group, Nillable, Sort

Description

ID of the user specified in the User field.



 |

## Usage

Queries on UserEntityAcces need filters on both the entity side and the user side.

Example: Entity Side

SELECT EntityDefinition.QualifiedApiName, EntityDefinition.MasterLabel 
FROM UserEntityAccess WHERE UserId={current\_user\_id} 
AND IsCreateable=true AND EntityDefinition.IsCustomizable=true

Example: User Side

UserId={current\_user\_id}