Skip to content

SEL_ObjectPermission.ObjectPermissionType

Class

apex
global enum SEL_ObjectPermission.ObjectPermissionType

A Permission that a User might have on a SObjectType.


Inner Classes

ClassDescription
CREATEUser can create new object (of a given type).
DELUser can delete an existing object (of a given type).
EDITUser can edit an existing object (of a given type).
MODIFY_ALLUser can edit all existing objects (of a given type).
READUser can view/read an existing object (of a given type).
VIEW_ALLUser can view/read all existing objects (of a given type).

Value Details

CREATE

apex
global CREATE

User can create new object (of a given type).

DEL

apex
global DEL

User can delete an existing object (of a given type). Delete is a reserved word, hence the abbreviation.

EDIT

apex
global EDIT

User can edit an existing object (of a given type).

MODIFY_ALL

apex
global MODIFY_ALL

User can edit all existing objects (of a given type).

READ

apex
global READ

User can view/read an existing object (of a given type).

VIEW_ALL

apex
global VIEW_ALL

User can view/read all existing objects (of a given type).