I need a list of users where the current user is manager of. SharePoint provides the JavaScript function PersonProperties.get_directReports()
, the result is a list of login names but I need user IDs to filter a person field in another list.
What would be the most efficient way to get the IDs of direct report users?