SharePoint Provider::RemoveRole
The RemoveRole method of the Users and Groups service removes the specified site group from the current site. Rollback is not supported.
Arguments
Input Arguments | Required | Description |
---|---|---|
<target> |
Yes |
SharePoint site containing the role thatis to be removed. |
<roleName> |
Yes |
A string that contains the name of the site group. |
Remarks
No remarks.
Sample Code
Example XML Request
<request>
<procedure>
<execute namespace="WSS Provider" procedure="RemoveRole"
impersonate="1">
<executeData>
<target>https://raven003/sites/test</target>
<roleName>TestRole</roleName>
</executeData>
</execute>
</procedure>
</request>
Example XML Response
No example XML response.
Typical C# Usage
No typical C# usage.
Applies To
Windows SharePoint Services Provider API for
Hosted Messaging and Collaboration version 3.5
Hosted Messaging and Collaboration version 3.0
Windows-based Hosting version 4.5
Windows-based Hosting version 4.0
Windows-based Hosting version 3.5
Windows-based Hosting for Applications version 1.0