Which two lines of code will cause a DMLA exception on insert to the database?

Ursa Major Solar needs an Architect to develop Apex Managed Sharing code for the custom Job object. The sharing settings for the Job object are set to Private.

The Architect is assigning level for the record.

Which two lines of code will cause a DMLA exception on insert to the database? (Choose two.)
A . objectname.AccessLevel=’None’
B . objectname.AccessLevel=’All’
C . objectname.AccessLevel=’Read’
D . objectname.AccessLevel=’Edit’

Answer: A,B

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments