다음을 통해 공유


ActivityManager.GetActivitiesByUser Method (UserProfile)

Gets an ActivityEventsCollection object containing all activity events published by the specified user.

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

Syntax

'Declaration
Public Function GetActivitiesByUser ( _
    userProfile As UserProfile _
) As ActivityEventsCollection
'Usage
Dim instance As ActivityManager
Dim userProfile As UserProfile
Dim returnValue As ActivityEventsCollection

returnValue = instance.GetActivitiesByUser(userProfile)
public ActivityEventsCollection GetActivitiesByUser(
    UserProfile userProfile
)

Parameters

Return Value

Type: Microsoft.Office.Server.ActivityFeed.ActivityEventsCollection

See Also

Reference

ActivityManager Class

ActivityManager Members

GetActivitiesByUser Overload

Microsoft.Office.Server.ActivityFeed Namespace