This project has moved and is read-only. For the latest updates, please go here.

Filter view based on group membership

Dec 22, 2010 at 8:26 PM

I have a need to filter a list view based on group membership in a MOSS 2007 environment. On this particular site there is a list with a Locale column, the defined locales match the sharepoint group names. I've been trying to use this method but it just keeps crashing sharepoint designer. Thoughts and suggestions please.

Thanks and happy holidays!


Dec 23, 2010 at 2:04 AM


Aleaxander's stuff is usually quite good. The thing with his script in this case is that you'll need to go through it and make some replacements based on your environment. For instance, I see that he has the group IDs hard-coded.

The bottom line is that this is absolutely possible. You might find it easier to start from scratch, frankly, using GetGroupCollectionFromUser as Alexander has and then building the filtering for your particular Web Part from there.