The WSS User Token structure contains an array of Site Group Identifiers.
| 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
|
|---|
| Magic |
| TokenVersion |
| ... |
| NumGroupIds |
| GroupIds (variable) |
| ... |
Magic (4 bytes): A 4-byte, unsigned integer specifying the version of the token format. This version of the protocol MUST always use the value 0xdcd3.
TokenVersion (8 bytes): An 8-byte, signed integer specifying the site collection's security version value, which was used to compute the token. This value is not currently used and MUST be ignored.
NumGroupIds (4 bytes): A 4-byte, unsigned integer specifying the count of Site Group Identifiers within this token.
GroupIds (variable): An array of 4-byte integers for each of the site groups the corresponding user belongs to. The number of elements in the array is specified by the NumGroupIds field.