Share via


UserProfile.GetDirectReports method

Gets an array of user profiles that represent users who report directly to this user.

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

Syntax

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

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

Return value

Type: []
User who report directly to this user.

See also

Reference

UserProfile class

UserProfile members

Microsoft.Office.Server.UserProfiles namespace