2.2.10.2 USER_PROPERTY

msdn link

The USER_PROPERTY structure defines an array element that contains a single property name and value for the supplementalCredentials attribute.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

NameLength

ValueLength

Reserved

PropertyName (variable)

...

PropertyValue (variable)

...

NameLength (2 bytes): The number of bytes, in little-endian byte order, of PropertyName. The property name is located at an offset of zero bytes just following the Reserved field. For more information, see the message processing section for supplementalCredentials (section 3.1.1.8.11).

ValueLength (2 bytes): The number of bytes contained in PropertyValue.

Reserved (2 bytes): This value MUST be ignored by the recipient and MAY<24> be set to arbitrary values on update.

PropertyName (variable): The name of this property as a UTF-16 encoded string.

PropertyValue (variable): The value of this property. The value MUST be hexadecimal-encoded using an 8-bit character size, and the values '0' through '9' inclusive and 'a' through 'f' inclusive (the specification of 'a' through 'f' is case-sensitive).