Wednesday, 8 August 2012

Try to access info. form sObj for which don't have permissions for user using trigger

* 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?

* 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.

Click Here!

No comments:

Post a Comment