ManagedSharePoint2007::RemoveGroupFromRole
The RemoveGroupFromRole procedure removes a group from the specified role of the customer's site collection or subsite.
Arguments
Input Arguments | Required | Description |
---|---|---|
<org> |
Yes |
Lightweight Directory Access Protocol (LDAP) path of the organization that owns the site. |
<siteName> |
Yes |
Site name which is unique within org and is a pointer site and title. |
<site> |
Yes |
Absolute URL of the site to modify. This is the URL that a user would enter to access the site, for example: https://localhost/sites/sp. |
<roleName> |
Yes |
Name of the role to be modified. |
<groupName> |
Yes |
Name of the group to be removed. |
<preferredDomainController> |
Yes |
The name of the domain controller to use. |
Remarks
Procedure Step
- Remove group from role by calling the SharePoint Provider::RemoveGroupFromRole method.
Security
Impersonate Caller.
Caller Tested for OrgCreator permissions: Domain Administrators.
Sample Code
Example XML Request
<request>
<procedure>
<execute namespace="ManagedSharePoint2007" procedure="RemoveGroupFromRole" impersonate="1">
<executeData>
<org>LDAP://ou=alpineskihouse,ou=consolidatedmessenger,ou=hosting,dc=fabrikam,dc=com</org>
<preferredDomainController>ad01-wh.fabrikam.com</preferredDomainController>
<site>https://app01-ra:8081/sites/testsite3/subsite1</site>
<siteName>subsitetest</siteName>
<roleName>TestRole</roleName>
<groupName>TestGroup</groupName>
</executeData>
</execute>
</procedure>
</request>
Applies To
Managed SharePoint 2007 Namespace for:
Hosted Messaging and Collaboration version 4.5
Hosted Messaging and Collaboration version 4.0
Windows-based Hosting version 4.5