SP.UserProfiles.PersonProperties.directReports property (sp.userprofiles)

Gets the account names of the user's direct reports.

Applies to: apps for SharePoint | Office 365 | SharePoint Foundation 2013 | SharePoint Server 2013

var value = SP.UserProfiles.PersonProperties.get_directReports()

Return value

String[]
The account names of the user's direct reports.

See also

Other resources

PersonProperties