共用方式為


ActivityManager.GetActivitiesByUser Method

Include Protected Members
Include Inherited Members

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

Overload List

  Name Description
Public method GetActivitiesByUser(String) Gets an ActivityEventsCollection object containing all activity events published by the user with the specified name.
Public method GetActivitiesByUser(UserProfile) Gets an ActivityEventsCollection object containing all activity events published by the specified user.
Public method GetActivitiesByUser(String, DateTime) Gets an ActivityEventsCollection object containing all activity events published by the user with the specified name after a specified time.
Public method GetActivitiesByUser(String, Int32) Gets an ActivityEventsCollection object containing activity events, up to a specified maximum number.
Public method GetActivitiesByUser(UserProfile, DateTime) Gets an ActivityEventsCollection object containing all activity events published by the specified user that have been published after the specified DateTime.
Public method GetActivitiesByUser(UserProfile, Int32) Gets an ActivityEventsCollection object containing activity events, up to a specified maximum number, published by the specified user.
Public method GetActivitiesByUser(String, DateTime, Int32) Gets an ActivityEventsCollection object containing activity events, up to a specified maximum number, published by the user with the specified name after a specified time.
Public method GetActivitiesByUser(UserProfile, DateTime, Int32) Gets an ActivityEventsCollection object containing all activity events, up to a specified maximum number, published by the specified user that have been published after the specified DateTime.

Top

See Also

Reference

ActivityManager Class

ActivityManager Members

Microsoft.Office.Server.ActivityFeed Namespace