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
asSeenBy
Type: Microsoft.Office.Server.UserProfiles.PrivacyThe privacy level that determines what social entities are allowed to view the activity events in the collection.
Return Value
Type: Microsoft.Office.Server.ActivityFeed.ActivityEventsCollection