Câu 3: Salesforce Certified Sharing and Visibility Architect
Universal Containers (UC) has a custom Apex class that enforces a business process and updates opportunities. UC has noticed that fields with field-level security permission of read only on certain users’ profiles are being updates by this class. How should the architect fix this problem?
Nội dung câu hỏi
Universal Containers (UC) has a custom Apex class that enforces a business process and updates opportunities. UC has noticed that fields with field-level security permission of read only on certain users’ profiles are being updates by this class. How should the architect fix this problem?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. Use the WITH SECURITY_ENFORCED keyword in the SOQL statement. — đáp án hiện tại
- B. Put the code in an inner class that uses the With Sharing keyword.
- C. Use the ISUpdatetable() Apex method to test each field prior to allowing update.
- D. Add With Sharing keyword to the class.
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.
Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.