Sign up ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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.