UserProfile.GetPeers method

Gets an array of user profiles that represent users who report to the same manager as this user.

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

public UserProfile[] GetPeers()

Return value

Type: []
An array of user profiles that represent users who report to the same manager as this user.
Show: