Is it possible to check the list of users who have read access on a particular item using PnP JS?

I tried something like this but roleAssignments is not available on item it seems.

const response = await sp.web.lists

1 Answer 1


Found the issue, I missed out the imports.

import "@pnp/sp/webs";
import "@pnp/sp/lists";
import "@pnp/sp/items";
import "@pnp/sp/security";

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.