3.1.4.4 RemovePermission

This operation is used to remove a specified permission from a list or a site.

 <wsdl:operation name="RemovePermission">
  <wsdl:input message="tns:RemovePermissionSoapIn" />
  <wsdl:output message="tns:RemovePermissionSoapOut" />
 </wsdl:operation>

The protocol client sends a RemovePermissionSoapIn request message and the protocol server responds with a RemovePermissionSoapOut response message, as follows:

  • If the value specified in objectType is "list" and no list with the name specified in objectName exists, the server MUST return a SOAP fault with error code 0x82000006.

  • If the value specified in objectType is not "list" or "web", the server MUST return a SOAP fault with error code 0x80131600.

  • If the value specified in permissionType is not "user" or "group", the server MUST return a SOAP fault with error code 0x80131600.

  • If the security principal or the security group specified in permissionIdentifier does not exist, the server MUST return a SOAP fault with error code 0x80131600.