FLOW_CheckObjectPermissions.DTO_Response
Class
apex
global inherited sharing class FLOW_CheckObjectPermissions.DTO_ResponseDTO containing the permissions per object provided in request.
Since: 1.0
Fields
| Field | Description |
|---|---|
| global Boolean hasCreateAccess | Whether the running user has create access to the object. |
| global Boolean hasDeleteAccess | Whether the running user has delete access to the object. |
| global Boolean hasEditAccess | Whether the running user has edit access to the object. |
| global Boolean hasReadAccess | Whether the running user has read access to the object. |
| global Boolean isValidObject | Whether the provided object API name resolves to a valid SObject type. |
| global String objectApiName | The 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 hasCreateAccessType: 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 hasDeleteAccessType: 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 hasEditAccessType: 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 hasReadAccessType: 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 isValidObjectType: 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 objectApiNameType: String
The API name of the object these permissions apply to.
Since: 1.0