Question:
* There are two sObjects A and B.
* For A sobject user has access, For B he dont have access.
* If he write a Trigger on A sobject which intern want to access B sObject What will happen?
Refer:
Click Here!
* For A sobject user has access, For B he dont have access.
* If he write a Trigger on A sobject which intern want to access B sObject What will happen?
Answer:
* Triggers run in the system context (unless you hand over to a class
decorated as 'with sharing') so I'd expect the trigger to be able to
access object B as long as the user's license type covers that object.Refer:
Click Here!
No comments:
Post a Comment