<div class="content"><p align="right"><a href="https://msdn.microsoft.com/en-us/library/96e44639-eb3e-48c3-a565-1d67cceb3bad" data-linktype="external">msdn link</a></p><p>Information about <a href="b645c125-a7da-4097-84a1-2fa7cea07714#gt_5ee032d0-d944-4acb-bbb5-b1cfc7df6db6" data-linktype="relative-path">trust</a> relationships with
other <a href="b645c125-a7da-4097-84a1-2fa7cea07714#gt_fd104241-4fb3-457c-b2c4-e0c18bb20b62" data-linktype="relative-path">forests</a> is stored
in <a href="b645c125-a7da-4097-84a1-2fa7cea07714#gt_8bb43a65-7a8c-4585-a7ed-23044772f8ca" data-linktype="relative-path">objects</a> of class <a href="../ms-adsc/8dccfa3a-9f60-4691-919b-7851ea6c83a9" data-linktype="relative-path">trustedDomain</a>
in the <a href="b645c125-a7da-4097-84a1-2fa7cea07714#gt_40a58fa4-953e-4cf3-96c8-57dba60237ef" data-linktype="relative-path">domain NC</a> <a href="b645c125-a7da-4097-84a1-2fa7cea07714#gt_ea02e669-2dda-460c-9992-b12a23caeeac" data-linktype="relative-path">replica</a> of the forest <a href="b645c125-a7da-4097-84a1-2fa7cea07714#gt_529c766b-af01-4bc8-b853-65fba6c704b3" data-linktype="relative-path">root domain</a>. Specifically,
the <a href="../ms-ada2/9680ad8c-af93-4ac1-b5f6-a4af90df7c84" data-linktype="relative-path">msDS-TrustForestTrustInfo</a>
<a href="b645c125-a7da-4097-84a1-2fa7cea07714#gt_108a1419-49a9-4d19-b6ca-7206aa726b3f" data-linktype="relative-path">attribute</a> on such
objects contains information about the trusted forest or realm. The structure
of the information contained in this attribute is represented in the following
manner.</p><table>
 <tbody><tr>
  <th><p><br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>1<br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>2<br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>3<br/>0</p></th>
  <th><p><br/>1</p></th>
 </tr>
 <tr>
  <td colspan="32">
  <p>Version</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p>RecordCount</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p>Records
  (variable)</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p>...</p>
  </td>
 </tr>
</tbody></table><p><b>Version (4 bytes): </b>Version of the data
structure. The only supported version of the data structure is 1.</p><p><b>RecordCount (4 bytes): </b>Number of records
present in the data structure.</p><p><b>Records (variable): </b>Variable-length records
each containing a specific type of data about the forest trust relationship.</p><dl>
<dd>
<p><b>IMPORTANT NOTE:</b> Records are not aligned to
32-bit boundaries. Each record starts at the next byte after the previous
record ends.</p>
</dd>
<dd>
<p>Each record is represented as described in section <a href="66387402-cb2b-490c-bf2a-f4ad687397e4" data-linktype="relative-path">6.1.6.9.3.1</a>.</p>
</dd></dl><p><b>Note</b>  All fields have little-endian byte
ordering.</p></div>