0

I have a problem of visibility on Account. Note that the page of the account is a VFP page. Profile do not have view all Account is private. We develop a specifique homepage depending on the user profile which call a specific VFP page.

But when log as a User, I can see all the account . Can you help?

Thank you in advance.

1
  • 1
    is that extentions/controller is with sharing or without sharing?. The by default is without sharing.
    – S B
    Commented Nov 25, 2015 at 10:01

1 Answer 1

0

If a class is not declared either with sharing or without sharing, then by default, such a class is executed in system mode, i.e. without sharing mode which means anybody can see anybody data and if you are updating data it can be updated by anybody.

1
  • Thank you i found the solution, they were a sharing with this account in the code
    – ihan
    Commented Nov 30, 2015 at 15:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .