I want to create a security predicate such that the reporting office in dataset is equal to reporting office on current user's contact.

'DataSetName.fieldName' == "$Users.Contact.Region__C.name"

I tried this but it is not working? So can anyone please tell me that how to access lookup on user in security predicate

1 Answer 1


You can only use users field and not any lookup relations field, if that Region field would have been on user that would work fine.

  • 1
    As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.
    – Community Bot
    Sep 20, 2021 at 16:45

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.