Controls record-level security of data. These keywords are used in Apex class declarations.
with sharing : Operate with the calling user’s sharing rights.
Recommended.
without sharing : Operate without the calling user’s sharing rights.
Generally only
recommended for classes doing reporting or data
aggregation.
<unspecified sharing> : Inherit sharing from calling class. Not recommended for
Visualforce controllers or Web services.
with sharing : Operate with the calling user’s sharing rights.
Recommended.
without sharing : Operate without the calling user’s sharing rights.
Generally only
recommended for classes doing reporting or data
aggregation.
<unspecified sharing> : Inherit sharing from calling class. Not recommended for
Visualforce controllers or Web services.
No comments:
Post a Comment