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

Gets the account names of the user's manager hierarchy.

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

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

Return value

String[]
The account names of the user's manager hierarchy.

See also

Other resources

PersonProperties