GetActivitiesByMe method (Privacy, DateTime)

ActivityManager.GetActivitiesByMe method (Privacy, DateTime)

Gets an ActivityEventsCollection containing all activity events published by the current user that match the specified privacy level and that have occurred after the specified DateTime object.

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

public ActivityEventsCollection GetActivitiesByMe(
	Privacy asSeenBy,
	DateTime minEventTime


Type: Microsoft.Office.Server.UserProfiles.Privacy

The privacy level that determines what entities are allowed to view the activity events in the collection.

Type: System.DateTime

The UTC DateTime after which all activity events in the collection have been published.

© 2016 Microsoft