SharePoint2007Provider::RemoveGroup

This procedure of the Users and Groups service removes the specified group from the current site collection.

Arguments

Input Arguments Description

<target>

The URL of the Windows SharePoint Services administration site.

<siteGUID>

The globally unique identifier (GUID) of Windows SharePoint Services site collection.

<subSiteGUID>

The GUID of subsite.

<groupName>

A string that contains the name of the group.

Remarks

For this procedure, rollback is not implemented.

Sample Code

Example XML Request for Hosted Messaging and Collaboration version 4.5

<request> 
  <procedure> 
    <execute namespace="SharePoint2007Provider" procedure="RemoveGroup" impersonate="1"> 
      <executeData> 
        <target>https://WSSFE:8080</target> 
        <siteGUID>46f632aa-d851-4bdc-9368-cd29c1157b0a</siteGUID> 
        <subSiteGUID>1c33d79e-4ac4-4bac-aadb-c1bdf3e2d3f0</subSiteGUID> 
        <groupName>SPNSTestGroup</groupName> 
      </executeData> 
    </execute> 
  </procedure> 
</request>

Applies To

SharePoint 2007 Provider for:

  • Hosted Messaging and Collaboration version 4.5

  • Hosted Messaging and Collaboration version 4.0

See also

Tasks

SharePoint2007Provider::AddGroup
SharePoint2007Provider::GetSite