SharePoint2007Provider::RemoveRole

This procedure removes the specified role from the current site.

Arguments

Input Arguments Description

<target>

The URL of the Windows SharePoint Services administration site.

<siteGUID>

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

<subSiteGUID>

The GUID of the subsite.

<roleName>

A string that contains the name of the role.

Remarks

Rollback is not supported.

Sample Code

Example XML Request

<request> 
   <procedure> 
      <execute namespace="SharePoint2007Provider" procedure="RemoveRole" impersonate="1"> 
         <executeData> 
            <target>https://WSSFE:8080</target> 
            <siteGUID>72b61464-579c-4c30-b31a-f6b266ddc8ae</siteGUID> 
            <subSiteGUID>12c053c1-edfa-4a59-a25f-7f5c4ef43f3b</subSiteGUID> 
            <roleName>SPNSTestRole</roleName> 
         </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::AddRole