Skip to content

FLOW_CheckObjectPermissions.DTO_Response

Class

apex
global inherited sharing class FLOW_CheckObjectPermissions.DTO_Response

DTO containing the permissions per object provided in request.

Since: 1.0


Fields

FieldDescription
global Boolean hasCreateAccessWhether the running user has create access to the object.
global Boolean hasDeleteAccessWhether the running user has delete access to the object.
global Boolean hasEditAccessWhether the running user has edit access to the object.
global Boolean hasReadAccessWhether the running user has read access to the object.
global Boolean isValidObjectWhether the provided object API name resolves to a valid SObject type.
global String objectApiNameThe API name of the object these permissions apply to.

Field Details

hasCreateAccess

apex
@InvocableVariable(required=true description='Whether the running user can create records of this object type' label='Has Create Access') global Boolean hasCreateAccess

Type: Boolean

Whether the running user has create access to the object.

Since: 1.0

hasDeleteAccess

apex
@InvocableVariable(required=true description='Whether the running user can delete records of this object type' label='Has Delete Access') global Boolean hasDeleteAccess

Type: Boolean

Whether the running user has delete access to the object.

Since: 1.0

hasEditAccess

apex
@InvocableVariable(required=true description='Whether the running user can edit records of this object type' label='Has Edit Access') global Boolean hasEditAccess

Type: Boolean

Whether the running user has edit access to the object.

Since: 1.0

hasReadAccess

apex
@InvocableVariable(required=true description='Whether the running user can read records of this object type' label='Has Read Access') global Boolean hasReadAccess

Type: Boolean

Whether the running user has read access to the object.

Since: 1.0

isValidObject

apex
@InvocableVariable(description='Whether the provided object API name resolves to a valid SObject type' label='Is Valid Object') global Boolean isValidObject

Type: Boolean

Whether the provided object API name resolves to a valid SObject type.

Since: 1.0

objectApiName

apex
@InvocableVariable(required=true description='The API name of the object these permissions apply to' label='Object Name') global String objectApiName

Type: String

The API name of the object these permissions apply to.

Since: 1.0