Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Show all sites a user is member of on MySite page

85 views
Skip to first unread message

JD Smith

unread,
Aug 21, 2007, 9:54:30 AM8/21/07
to
I'd like to have all sites the user is a member of show up on their
MySite page. I tried using the Membership webpart, however it is not
showing any sites (and I'm a member of plenty of sites). Is this the
right webpart, or does it do something else?

If that isn't the correct webpart, any suggestions on a way to do this?

Paul Liebrand

unread,
Aug 21, 2007, 2:00:01 PM8/21/07
to
Having access to a site and being a member of the site are two different
things.

The Membership web part will only show sites where you are actually in the
"Site Members" group, regardless of whether you are a explicitly added to the
site, or have full control, or even the site owner.

If you navigate to the site you want to show up in your membership web part,
then go to Site Actions / Site Settings / People and Groups. Click on Actions
and Setup Groups.

Once in this screen, insure that you are in the group that is listed in the
section called Members.

Once you are added there, and a full crawl has occurred, it will start to
show up in the membership web part, and other places like "My SharePoint
Sites", etc.

I hope this helps.

Thank you,

Paul Liebrand

Jesslyn Hendrix

unread,
Aug 21, 2007, 2:17:02 PM8/21/07
to
I don't show anything under Memberships for any of our site users. Is this
something that needs to be enabled or configured at the server level?


"Paul Liebrand" <paul_l...@hotmail.com> wrote in message
news:A89373B6-9ACD-4B91...@microsoft.com...

JD Smith

unread,
Aug 21, 2007, 2:58:51 PM8/21/07
to
On Aug 21, 2:00 pm, Paul Liebrand <paul_liebr...@hotmail.com> wrote:
> Having access to a site and being a member of the site are two different
> things.
>
> The Membership web part will only show sites where you are actually in the
> "Site Members" group, regardless of whether you are a explicitly added to the
> site, or have full control, or even the site owner.
>
> If you navigate to the site you want to show up in your membership web part,
> then go to Site Actions / Site Settings / People and Groups. Click on Actions
> and Setup Groups.
>
> Once in this screen, insure that you are in the group that is listed in the
> section called Members.
>
> Once you are added there, and a full crawl has occurred, it will start to
> show up in the membership web part, and other places like "My SharePoint
> Sites", etc.
>
> I hope this helps.
>
> Thank you,
>
> Paul Liebrand

Does that work across all site collections?

Paul Liebrand

unread,
Aug 21, 2007, 4:12:01 PM8/21/07
to
Yes, this works across site collections, as long as they are part of the same
farm.

The other important thing to remember is that in order for the Membership
functionality to work correctly, you need to make sure the users are clicking
on the "Set as default My Site" link in the top right corner of the My Site
screen. Until they do this, the membership functions will not work.

As mentioned before, the population of user memberships is also closely tied
to the full SharePoint crawl schedule.

Thanks,

Paul Liebrand

Paul Liebrand

unread,
Aug 21, 2007, 4:18:07 PM8/21/07
to
The basic components to get the membership feature to function correctly are
as follows:

- You need to have an SSP created and all your sites need to be associated
with it.
- You need to have My Sites enabled and users have to set it as their
default My Site by using the link in the top right corner of their My Site
page (If the link is not there, that means they already did it).
- You need to have a Office Search full crawl scheduled and at least 1
successful full crawl completed.
- The users need to be part of the site's Members group. If you do not have
a member group, you can create one by navigating to the site, Clicking on
Site Actions / Site Settings / People and Groups / Actions / Setup Groups
(PS: a full crawl is required to pick up any changes to the member groups).

Once you have all these components in place, the membership web part will
function correctly, and if you are using Office 2007, you will start getting
"My SharePoint Sites" propagated to your end-users to make it easier for them
to navigate to the sites they are members of.

I hope this helps.

Thanks,

Paul Liebrand

JD Smith

unread,
Aug 21, 2007, 5:24:07 PM8/21/07
to
On Aug 21, 4:18 pm, Paul Liebrand <paul_liebr...@hotmail.com> wrote:
> The basic components to get the membership feature to function correctly are
> as follows:
>
> - You need to have an SSP created and all your sites need to be associated
> with it.
> - You need to have My Sites enabled and users have to set it as their
> default My Site by using the link in the top right corner of their My Site
> page (If the link is not there, that means they already did it).
> - You need to have a Office Search full crawl scheduled and at least 1
> successful full crawl completed.
> - The users need to be part of the site's Members group. If you do not have
> a member group, you can create one by navigating to the site, Clicking on
> Site Actions / Site Settings / People and Groups / Actions / Setup Groups
> (PS: a full crawl is required to pick up any changes to the member groups).
>
> Once you have all these components in place, the membership web part will
> function correctly, and if you are using Office 2007, you will start getting
> "My SharePoint Sites" propagated to your end-users to make it easier for them
> to navigate to the sites they are members of.
>
> I hope this helps.
>
> Thanks,
>
> Paul Liebrand
>
>
>
> "Jesslyn Hendrix" wrote:
> > I don't show anything under Memberships for any of our site users. Is this
> > something that needs to be enabled or configured at the server level?
>
> > "Paul Liebrand" <paul_liebr...@hotmail.com> wrote in message
> > >> If that isn't the correct webpart, any suggestions on a way to do this?- Hide quoted text -
>
> - Show quoted text -

- I have 1 SSP, all sites are associated to it.
- MySite page is setup and I've set it to my default.
- Ran a Full Crawl (SSP -> Search Settings -> Content Sources and
Crawl Schedules -> Local Office SharePoint Server Sites -> Start Full
Crawl)
- I am a member of the Members group. The group in question is called
'Information Technology Members' and it has our department AD group
and myself as members.

I've run 3 or 4 full crawls and still not getting anything under
Membership. I've checked the crawl log, and it is crawling the site.
What else am I missing?

Paul Liebrand

unread,
Aug 21, 2007, 5:42:02 PM8/21/07
to
When you navigate to the People and Groups section of the site in question,
and you click on the Actions / Setup Groups, is the group "Information
Technology Members" listed as the Members group?

JD Smith

unread,
Aug 21, 2007, 7:12:42 PM8/21/07
to
> > What else am I missing?- Hide quoted text -

>
> - Show quoted text -

Yes, the Information Technology Members group is listed as the Members
group.

JD Smith

unread,
Aug 22, 2007, 1:29:56 PM8/22/07
to
> group.- Hide quoted text -

>
> - Show quoted text -

Any other suggestions? I have a demo to give and this could really
play a huge part of it.

Paul Liebrand

unread,
Aug 22, 2007, 4:04:04 PM8/22/07
to
It sounds like you have everything configured correctly so I am not 100% sure
at this point why it is not working.

Just to be clear -- the membership functionality does not work with AD
Groups (I know... it's silly). Each user has to be explicitly added to the
Members group within the site.

I think I recall seeing in your post you were using a combination of AD
groups and users in your members group. As a test, you might want to create a
new sub-site with unique permissions, add yourself explicitly (it should
automatically add your name if you are creating the site as yourself) to the
members group. Then run the full crawl.

After the full crawl has completely successfully, check the membership
listing again to see if it shows up. Other places the membership information
is visible is via the My Links / My SharePoint Sites option from the top
navbar on any site associated with your SSP.

Another thing you can do is execute the following query against your SSP
database which will display all the membership information for the specified
user (it will return 3 sets of data -- the 3rd set being the site membership
information):

----BEGIN QUERY---
declare @RecordId int

select @RecordId = RecordId
from dbo.UserProfile_Full
where PreferredName = '<<insert preferred name here>>'

exec dbo.QuickLinksRetrieveAllItems
@RecordId,@ViewerItemSecurity=31,@RequestedItemSecurity=16
---END QUERY---

I hope this helps.

JD Smith

unread,
Aug 22, 2007, 4:31:18 PM8/22/07
to
> > play a huge part of it.- Hide quoted text -

>
> - Show quoted text -

The Information Technology site is a sub-site, so I did try adding
myself to the top-level in the members group and ran a full crawl with
nothing.

I ran the query you posted and it only returned data for the first
data set(which looks like it has something to do with colleague
information).

Paul Liebrand

unread,
Aug 22, 2007, 4:52:01 PM8/22/07
to
My recommendation still stands ...

In your Information Management site, create a new site with unique
permissions. On the permission screen where it shows Visitors, Members (your
name should be here automatically), and Owners (your name should be here
automatically) insure your information is correct and continue.

After this site is created, run the full crawl and then that query I gave
you ... what are the results?

By the way -- your computers are all part of the domain correct? And the
accounts you are using are domain accounts right?

Thanks,

JD Smith

unread,
Aug 22, 2007, 7:06:41 PM8/22/07
to
> > information).- Hide quoted text -

>
> - Show quoted text -


I added a new sub-site and make sure to leave myself in the Members
and Owners group. I'll check tomorrow morning (crawl is scheduled for
midnight) and post the results.

Yep, all machines are on the domain and I am logged into it. Do I
need to import the profiles into the MySite page? So far to setup a
MySite page, I just click the MySite link at the top and allow the
page to auto-create from that. I haven't run any imports or anything
of that sort from AD.

JD Smith

unread,
Aug 22, 2007, 9:32:37 PM8/22/07
to
> of that sort from AD.- Hide quoted text -

>
> - Show quoted text -

My Membership to the new site I created is showing correctly. Do I
need to clear the crawl content and add all the users back into the
Members group? Glad it's working, but doesn't make sense as to why
it's not picking up the other site.

JD Smith

unread,
Aug 27, 2007, 11:53:43 AM8/27/07
to
> it's not picking up the other site.- Hide quoted text -

>
> - Show quoted text -

Still looking for some reason as to why the Membership isn't updating
on exsisting sites.

Paul Liebrand

unread,
Aug 27, 2007, 12:08:22 PM8/27/07
to
Did you ever do what I recommended in my last post about re-establishing the
groups on the existing sites?

JD Smith

unread,
Aug 27, 2007, 1:19:17 PM8/27/07
to
> ...
>
> read more »- Hide quoted text -

>
> - Show quoted text -

I must have missed that post. The last one I see is to create a new
site (which I've done). How do I re-establish groups on the existing
sites?

Paul Liebrand

unread,
Aug 27, 2007, 8:20:01 PM8/27/07
to
Go to the Setup Groups screen on that site,
and create a NEW members group. Add the users to that group, delete the old
group, perform a full crawl, then recreate your IM members group, and repeat
the process.

I hope this helps.

Thanks,

Paul Liebrand

"JD Smith" wrote:

rita

unread,
Aug 28, 2007, 6:44:04 PM8/28/07
to
> ...
>
> read more »- Hide quoted text -
>
> - Show quoted text -

Hi all,

Does anyone know which Timer job is responsible for site Membership
sychronization (Profile Synchronization Timer job???) and how it adds
a site to a user's "My SharePoint Sites" webpart after the user has
been explicitly added to the site's "Site Members" SharePoint group?
(Does it update the user's profile in SSP? Then, the "My SharePoint
Sites" web part queries the SSP for the "Site Membership" field of
that user's profile? )

Thanks in advance!

Rita

rita

unread,
Aug 28, 2007, 6:46:10 PM8/28/07
to

JD Smith

unread,
Aug 29, 2007, 11:35:55 AM8/29/07
to
> ...
>
> read more »- Hide quoted text -
>
> - Show quoted text -

Thanks Paul! That fixed it!!

Paul Liebrand

unread,
Aug 29, 2007, 11:50:03 AM8/29/07
to
Awesome! I am glad that issue is resolved now. However, I wish I knew why it
was not working in the first place =/ I guess we will never know.
0 new messages