UserProfile.GetPeers Method
Gets an array of user profiles representing 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)
Syntax
'Declaration
Public Function GetPeers As UserProfile()
'Usage
Dim instance As UserProfile
Dim returnValue As UserProfile()
returnValue = instance.GetPeers()
public UserProfile[] GetPeers()
Return Value
Type: []