2.2.2.1.1 PermissionData Structure

The PermissionData structure specifies the properties, including folder permissions, for a single user and the requested operation (add entry, update entry, delete entry) to be performed on the permissions list for that user.

PermissionDataFlags (1 byte):  A set of flags that specify the type of change to be made to the folder permissions. The valid flags for this field are specified in the following table. The client MUST NOT set any other flags. If the ReplaceRows flag is set in the ModifyFlags field of the RopModifyPermissions ROP request buffer, only the AddRow flag is valid.

Flag name

Value

Meaning

AddRow

0x01

The user that is specified by the PidTagEntryId property (section 2.2.4) is added to the permissions list.

ModifyRow

0x02

The existing permissions for the user that is identified by the PidTagMemberId property (section 2.2.5) are modified.

RemoveRow

0x04

The user that is identified by the PidTagMemberId property is deleted from the permissions list.

PropertyValueCount (2 bytes):  An integer that specifies the number of structures contained in the PropertyValues field.

PropertyValues (variable):  An array of TaggedPropertyValue structures ([MS-OXCDATA] section 2.11.4). Each structure specifies one property. The properties included depend on the type of change that is being made. For details, see sections 3.1.4.2, 3.1.4.3, and 3.1.4.4.