3.1.4.6.2.1 UpdatePermission

The input data of an UpdatePermission operation. The definition of the UpdatePermission element is as follows:

 <s:element name="UpdatePermission">
  <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:element minOccurs="1" maxOccurs="1" name="permissionMask" type="s:int" />
   </s:sequence>
  </s:complexType>
 </s:element>

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

objectType: A string that specifies whether permission is to be updated 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 to whom the permission applies. The security principal or security group MUST already exist on the site on the protocol server.

permissionType: A string that specifies whether permission applies to the security principal or to the security group. The value MUST be "user" for security principal, "group" for security group, or "role". If permissionType equals "role" and objectType equals "web", the server MUST return a SOAP fault with error code 0x80131600. If permissionType equals "role" and objectType equals "list", the server MUST return a SOAP fault with error code 0x80131600.<3>

permissionMask: A Rights Mask that is lower 32 bits of the WSS Rights Mask which is specified in [MS-WSSFO3] section 2.2.2.15.