SharePoint Retrieve Task Assigned To User and Groups

Published by on
Tags:

If you want to retrieve a list of tasks that have been assigned to both a user and the groups he belongs to then use the following query:

 

Using this and reflecting the code for the Microsoft.SharePoint.WebPartPages.UserTasksWebPart it is quite easy to make an aggregation webpart to display the list of tasks on a users MySite.

The above query was not thought up by myself but comes from Murilo Rodrigues in a response to Assigning SharePoint tasks to groups.

 

All blogs tagged with ' caml'

Projects

Have you read?

MVC Blog changes



Blogs by date