4.1 Sending a Sharing Request

Kendall's client creates a sharing request by using the RopCreateMessage ROP ([MS-OXCROPS] section 2.2.6.2). The server returns a success code and a handle to a Message object.

The client then sets the properties on the sharing request by using the RopSetProperties ROP ([MS-OXCROPS] section 2.2.8.6), as shown in the following table.

Property

Property ID

Property type

Value

PidTagMessageClass ([MS-OXCMSG] section 2.2.1.3)

0x001A

PtypString ([MS-OXCDATA] section 2.11.1)

"IPM.Sharing"

PidNameContentClass (section 2.2.5.1)

0x806D

PtypString

"Sharing"

PidTagNormalizedSubject ([MS-OXCMSG] section 2.2.1.10)

0x0E1D

PtypString

"Sharing request: calendar"

PidTagSubjectPrefix ([MS-OXCMSG] section 2.2.1.9)

0x003D

PtypString

"" (a zero-length string)

PidLidSharingProviderGuid (section 2.2.2.12)

0x8243

PtypBinary ([MS-OXCDATA] section 2.11.1)

*

PidNameXSharingProviderGuid (section 2.2.2.13)

0x836F

PtypString

"AEF0060000000000C000000000000046"

PidLidSharingProviderName (section 2.2.2.14)

0x8244

PtypString

"Microsoft Exchange"

PidNameXSharingProviderName (section 2.2.2.15)

0x8370

PtypString

"Microsoft Exchange"

PidLidSharingProviderUrl (section 2.2.2.16)

0x8245

PtypString

"HTTP://www.microsoft.com/exchange"

PidNameXSharingProviderUrl (section 2.2.2.17)

0x8371

PtypString

"HTTP://www.microsoft.com/exchange"

PidLidSharingConfigurationUrl (section 2.2.2.3)

0x83D0

PtypString

"" (a zero-length string)

PidNameXSharingConfigUrl (section 2.2.2.4)

0x8377

PtypString

"" (a zero-length string)

PidLidSharingFlavor (section 2.2.2.5)

0x823D

PtypInteger32 ([MS-OXCDATA] section 2.11.1)

0x00020500

PidNameXSharingFlavor (section 2.2.2.6)

0x836D

PtypString

"20500"

PidLidSharingCapabilities (section 2.2.2.1)

0x823C

PtypInteger32

0x00040290

PidNameXSharingCapabilities (section 2.2.2.2)

0x836C

PtypString

"40290"

PidLidSharingLocalType (section 2.2.2.10)

0x824F

PtypString

"IPF.Appointment"

PidNameXSharingLocalType (section 2.2.2.11)

0x8379

PtypString

"IPF.Appointment"

PidLidSharingInitiatorEntryId (section 2.2.2.7)

0x8249

PtypBinary

**

PidLidSharingInitiatorName (section 2.2.2.8)

0x8029

PtypString

"user12"

PidLidSharingInitiatorSmtp (section 2.2.2.9)

0x8248

PtypString

"user12@fabrikam.com"

* The following data shows the value of the PidLidSharingProviderGuid property. The size of the value is 16 bytes.

 0000: AE F0 06 00 00 00 00 00 C0 00 00 00 00 00 00 46 ...............F

** The following data shows the value of the PidLidSharingInitiatorEntryId property. The size of the value is 125 bytes.

 0000: 00 00 00 00 DC A7 40 C8 C0 42 10 1A B4 B9 08 00 ......@..B......
 0010: 2B 2F E1 82 01 00 00 00 00 00 00 00 2F 6F 3D 46 +/........../o=F
 0020: 69 72 73 74 20 4F 72 67 61 6E 69 7A 61 74 69 6F irst Organizatio
 0030: 6E 2F 6F 75 3D 45 78 63 68 61 6E 67 65 20 41 64 n/ou=Exchange Ad
 0040: 6D 69 6E 69 73 74 72 61 74 69 76 65 20 47 72 6F ministrative Gro
 0050: 75 70 20 28 46 59 44 49 42 4F 48 46 32 33 53 50 up (FYDIBOHF23SP
 0060: 44 4C 54 29 2F 63 6E 3D 52 65 63 69 70 69 65 6E DLT)/cn=Recipien
 0070: 74 73 2F 63 6E 3D 75 73 65 72 31 32 00          ts/cn=user12.

After addressing the message as described in [MS-OXOMSG], the client sends the message to Ryan by using the RopSubmitMessage ROP ([MS-OXCROPS] section 2.2.7.1) and then releases the Message object by using the RopRelease ROP ([MS-OXCROPS] section 2.2.15.3).