Share via


ActivityManager.GetActivitiesByUser method (String)

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

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

Syntax

'Declaration
Public Function GetActivitiesByUser ( _
    publisher As String _
) As ActivityEventsCollection
'Usage
Dim instance As ActivityManager
Dim publisher As String
Dim returnValue As ActivityEventsCollection

returnValue = instance.GetActivitiesByUser(publisher)
public ActivityEventsCollection GetActivitiesByUser(
    string publisher
)

Parameters

  • publisher
    Type: System.String

    A string that represents the name of the entity that has published the events in the collection.

Return value

Type: Microsoft.Office.Server.ActivityFeed.ActivityEventsCollection

See also

Reference

ActivityManager class

ActivityManager members

GetActivitiesByUser overload

Microsoft.Office.Server.ActivityFeed namespace