126.96.36.199.3 Setting Individual Delegate Preferences
Specify the delegate's name, using the value of the PidTagDisplayName property (section 188.8.131.52.1) for the Address Book object of the delegate. This value MUST be specified as an entry in either the PidTagScheduleInfoDelegateNamesW property (section 184.108.40.206.4) or the PidTagScheduleInfoDelegateNames property (section 220.127.116.11.3). The value MAY be specified as an entry in both the PidTagScheduleInfoDelegateNamesW and PidTagScheduleInfoDelegateNames properties. If a client uses only one of these properties, it SHOULD use the PidTagScheduleInfoDelegateNamesW property,<4> and it MUST use the same property for all delegates.
Specify the value of the PidTagEntryId property ([MS-OXCPERM] section 2.2.4) for the Address Book object of the delegate as an entry in the PidTagScheduleInfoDelegateEntryIds property (section 18.104.22.168.5).
Specify whether the delegate can view the delegator's Message objects that are marked as private as an entry in the PidTagDelegateFlags property (section 22.214.171.124.6). The value of the PidTagSensitivity property ([MS-OXCMSG] section 126.96.36.199) on a Message object that has been marked as private is 0x00000002. The ability to view Message objects that have been marked as private is applicable to all folders for which the delegate has a role of Reviewer, Author, or Editor, as specified in section 188.8.131.52.2.
The client then MUST send the RopSetProperties ROP ([MS-OXCROPS] section 184.108.40.206) with the values of the three properties generated by steps 1-3 in this secton, and commit the changes by sending the RopSaveChangesMessage ROP ([MS-OXCROPS] section 220.127.116.11).
Note Because each multivalue property specified above has one entry for each delegate, they are correlated by their index into these multivalue properties, and are only valid if an entry is present for all three properties.