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)

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: []
An array of user profiles that represent users who report to the same manager as this user.

See also

Reference

UserProfile class

UserProfile members

Microsoft.Office.Server.UserProfiles namespace