SP.UserProfiles.PersonProperties.peers property (sp.userprofiles)
Gets the account names of the user's peers.
Applies to: apps for SharePoint | Office 365 | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.UserProfiles.PersonProperties.get_peers()
Return value
String[]
The account names of the user's peers.