Partilhar via


ActivityManager.GetActivitiesByMe Method (Privacy)

Gets an ActivityEventsCollection object containing all activity events published by the current user that match the specified privacy level.

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

Syntax

'Declaration
Public Function GetActivitiesByMe ( _
    asSeenBy As Privacy _
) As ActivityEventsCollection
'Usage
Dim instance As ActivityManager
Dim asSeenBy As Privacy
Dim returnValue As ActivityEventsCollection

returnValue = instance.GetActivitiesByMe(asSeenBy)
public ActivityEventsCollection GetActivitiesByMe(
    Privacy asSeenBy
)

Parameters

Return Value

Type: Microsoft.Office.Server.ActivityFeed.ActivityEventsCollection

See Also

Reference

ActivityManager Class

ActivityManager Members

GetActivitiesByMe Overload

Microsoft.Office.Server.ActivityFeed Namespace