5

I want to get specific publication list for specific User (depending on those user group's rights and permission in which that user is associated with). I tried with PublicationData class or PublicationFilterData class and I am getting all available publications but I want specific publication list based on user.

1 Answer 1

10

You could impersonate that specific user in your code and then request all publications as them. This should give you the complete list that they're able to access.

Alternatively, you could get every publication and then iterate over them to determine whether the user (or a group that they're a member of) has any rights on that publication.

2
  • Hi Jonathan, by impersonating the user, I am able to get those specific publications, which that specific use has the access. Thanks you very much.
    – User 45
    Commented Feb 17, 2020 at 14:52
  • Excellent. Glad I could help 👍 Commented Feb 17, 2020 at 15:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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