SharePoint2007Provider::RemoveUsersFromRole
This procedure of the Users and Groups service removes the users with the specified user names from the specified role. This call implements rollback.
Arguments
Input Arguments | Required | Description |
---|---|---|
<target> |
Yes |
The URL of the Windows SharePoint Services administration site. |
<siteGUID> |
Yes |
The globally unique identifier (GUID) of Windows SharePoint Services site collection. |
<subSiteGUID> |
Yes |
The GUID of sub site. |
<roleName> |
Yes |
A string that contains the name of the role. |
<user/loginName> |
Yes |
The login name of the user. |
Remarks
No remarks.
Sample Code
Example XML Request
<request>
<procedure>
<execute namespace="SharePoint2007Provider" procedure="RemoveUsersFromRole" impersonate="1">
<executeData>
<target>https://WSSFE:8080</target>
<siteGUID>d8ee65e1-0757-4552-be4a-8e39c71b725d</siteGUID>
<subSiteGUID>f1409b55-fb16-4270-8fef-5b9a9d9e7968</subSiteGUID>
<roleName>SPNSTestRole</roleName>
<users>
<user loginName="Fabrikam\Administrator" />
</users>
</executeData>
</execute>
</procedure>
</request>
Applies To
Hosted Messaging and Collaboration version 4.5
Hosted Messaging and Collaboration version 4.0
See also
Tasks
SharePoint2007Provider::AddUsersToRole
SharePoint2007Provider::GetUsersFromRole