SharePoint2007Provider::RemoveGroupFromRole

This procedure removes a group from the specified role. This method implements rollback.

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 sub site.

<roleName>

The role to be modified.

<groupName>

The group to be removed.

Remarks

No remarks.

Sample Code

Example XML Request

<request> 
   <procedure> 
      <execute namespace="SharePoint2007Provider" procedure="RemoveGroupFromRole" impersonate="1"> 
         <executeData> 
            <target>https://WSSFE:8080</target> 
            <siteGUID>a37333da-d677-4c4d-a172-a6141ac03873</siteGUID> 
            <subSiteGUID>8f33462b-4763-4ce8-b3b8-7930a1a51bce</subSiteGUID> 
            <roleName>Full Control</roleName> 
            <groupName>SPNSTestGroup</groupName> 
         </executeData> 
      </execute> 
   </procedure> 
   <context> 
      <securityContext> 
         <authentication> 
            <basic username="Fabrikam\Administrator" password="Pa$$word" /> 
         </authentication> 
      </securityContext> 
   </context> 
</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::AddGroupToRole