On the main intranet, class sites are available which selected lecturers are members of and the appropriate students are visitors of. The groups are all setup accordingly and associate with the class sites.
What Id now like to do is show a list of all class sites that a student belongs to i ntheir MySite. My initial thought was to use the memberships web part but as the name suggests, this only seems to wrok if the user is a member of a site. The students in this case are visitors (with contribute rights to the bits they need to contribute to). So it appears that option is out of the window.
My next thought was to use the CQWP but this requires the Publishing features enabled for each MySite (which I'd rather avoid) and it only works at site collection level so it's limited to the current users MySite.
Is there anyway I can show sites that a student has access to under a specific path, e.g. http://intranet/class/class1, http://intranet/class/class2
Ideally this would security trim to show only sites the student had access to.
I'm up for creating a web part if someone can point me in the direction of sample code.
Thanks.