A trigger on a custom object runs when a portal user does some operation. This trigger calls a public static method from a public apex class which does not have with sharing defined. I need to access high volume portal users profile inside static method in class which is used from Trigger. Will i get portal user profile always ? I am getting inconsistent results.

1 Answer 1


By definition a HVCP user doesn't have any sharing via Roles. They get their access to their account and related records through implicit sharing. Other records they get access to will be via sharing groups. The implicit sharing is likely what's causing the inconsistent results.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.