Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have an intranet based on SharePoint 2010 that uses Active directory for authentication.

I have a Content Query web part that display tasks from the tasks lists. All users have access to the tasks list. How can I filter the data in the Content Query web part to only show the tasks assigned to the current user ?

Can this be done or do I need to create a custom web part to achieve this requirement?

share|improve this question
add comment

2 Answers 2

up vote 1 down vote accepted

A simpler solution might be to use the User Tasks web part. Although it doesn't make it obvious, this can be made query across the entire site collection, for either 2007 or 2010.

http://blog.mastykarz.nl/inconvenient-user-tasks-web-part-display-all-tasks/

share|improve this answer
add comment

In 2007, when you select a coulmn to filter on that is a person/group field, there is an option to filter by Me. This works the same as any regular list/library where you have views filtered by the current logged in user. The CQWP works the same way.

I assume there is something similar in 2010, I don't have a farm to view that in specficly at this time.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.