function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Barry Taylor SwishCleanBarry Taylor SwishClean 

What is the difference between "System Mode" and "User Mode"?

Hello,

I am rather new to the Apex and Visualforce world and I am working throught the developers guide and I have a really stupid question... when working with Controller Classes and using the keywords, Sharing or Without sharing that influance whether the page is run in "SYSTEM MODE" or "USER MODE"

My question is what is the difference betweent the two modes?
Best Answer chosen by Barry Taylor SwishClean
hitesh90hitesh90
Hello Barry,

The difference between "SYSTEM MODE" or "USER MODE" is on code execution perspective.

refer below link:
https://developer.salesforce.com/forums/ForumsMain?id=906F00000009226IAA

Thank You,
Hitesh Patel
SFDC Certified Developer & Administrator & Advanced Administrator & Sales cloud consultant
Email :- hiteshpatel.aspl@gmail.com
My Blog:- http://mrjavascript.blogspot.in/