UserProfile.GetManagers method

Gets an array of user profiles that represents the manager hierarchy for this user.

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

Syntax

'Declaration
Public Function GetManagers As UserProfile()
'Usage
Dim instance As UserProfile
Dim returnValue As UserProfile()

returnValue = instance.GetManagers()
public UserProfile[] GetManagers()

Return value

Type: []
An array of user profiles that represents the manager hierarchy for this user.

See also

Reference

UserProfile class

UserProfile members

Microsoft.Office.Server.UserProfiles namespace