Forum Discussion

Nigel Witherdin's avatar
Nigel Witherdin
Iron Contributor
Mar 16, 2020
Solved

How to query to find all users who are managed by a specified individual

Hi,

Wondering if it is possible to query (using PnP JS) to get user profiles for all users who are managed by a specified individual?

Im guessing it can done using clientPeoplePickerSearchUser (https://pnp.github.io/pnpjs/sp/profiles/#search-a-user-or-group), but I am not sure how to structure a query based on the Manager profile

Thanks!

Resources