1

I am getting this error when trying to do @wire for the current user.

I assume that this is some sort of sharing issue.

Is there a way to do something similar to without sharing for @wire so that I can pull the UserRoleId for the current user?

  • 1
    Basically, no. You'll need Apex for that sort of situation. – sfdcfox Sep 10 '19 at 19:53
  • @sfdcfox That's what I thought, okay thank you. – Arthlete Sep 10 '19 at 20:06

Your Answer

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

Browse other questions tagged or ask your own question.