SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I´ve got a problem with a normal SiteUsers WebPart. Currently I have this code:

<WebPart xmlns:xsi="" xmlns:xsd="" xmlns="">
  <Title>Group Member</Title>
  <Description>Use the Site Users Web Part to see a list of the site users and their online status.</Description>
  <Height />
  <Width />
  <DetailLink />
  <HelpLink />
  <PartImageSmall />
  <MissingAssembly>Cannot import this Web Part.</MissingAssembly>
  <IsIncludedFilter />
  <Assembly>Microsoft.SharePoint, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c</Assembly>
  <DisplayType xmlns="">GroupMembership</DisplayType>
  <MembershipGroupId xmlns="">26</MembershipGroupId>
  <Toolbar xmlns="">false</Toolbar>

Now I need to put a variable GroupID into the MembershipGroupID. I can read out the property via jQuery, thats not the problem but how can I set this GroupID to the SiteUsers WebPart, to display the Users in the group. Can I simply put in a Script into the WerbPart Config? Would be nice, if it would work with JavaScript/jQuery.

The background off all is, that I created own groups, so there is no Members group anymore.

Thanks for all effort.

share|improve this question

Your Answer


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

Browse other questions tagged or ask your own question.