3.1.4.4.2.1 RemovePermission

The input data for a RemovePermission operation. The definition of the RemovePermission element is as follows:

 <s:element name="RemovePermission">
  <s:complexType>
   <s:sequence>
    <s:element minOccurs="1" maxOccurs="1" name="objectName" type="s:string" />
    <s:element minOccurs="1" maxOccurs="1" name="objectType" type="s:string" />
    <s:element minOccurs="1" maxOccurs="1" name="permissionIdentifier" type="s:string" />
    <s:element minOccurs="1" maxOccurs="1" name="permissionType" type="s:string" />
   </s:sequence>
  </s:complexType>
 </s:element>

objectName: A string that contains the name of a list or a site. The specified list or site specified in this parameter MUST exist on the protocol server.

objectType: A string that specifies whether permission is to be removed for a list or a site. The value MUST be "list" for a list or "web" for a site.

permissionIdentifier: A string that contains the name of the security group or the name of the security principal whose permission is to be removed. The specified security principal or security group MUST already exist on the site.

permissionType: A string that specifies whether permission is to be removed for the security principal or security group. The value MUST be "user" for security principal, "group" for security group, or "role". If permissionType equals "role" and objectType equals "web", permissions for the role will not be removed. If permissionType equals "role" and objectType equals "list", permissions for all security principals assigned to the role will remain unchanged.<2>