<div class="content" name="SESSION_ENUM_STRUCT" uuid="e560d8c6-13e1-47b6-bde3-5377251ab5ff"><p>The SESSION_ENUM_STRUCT structure specifies the information
level that the <a href="1709f6a7-efb8-4ded-b7ae-5cee9ee36320#gt_60e0e1fa-66fe-41e1-b5e3-ceab97e53506" data-linktype="relative-path">client</a>
requests in the <a href="02b1f559-fda2-4ba3-94c2-806eb2777183" data-linktype="relative-path">NetrSessionEnum</a>
method and encapsulates the <a href="719533a1-0f65-4f86-8027-8e0c9cabab29" data-linktype="relative-path">SESSION_ENUM_UNION</a>
union that receives the entries that are enumerated by the <a href="1709f6a7-efb8-4ded-b7ae-5cee9ee36320#gt_434b0234-e970-4e8c-bdfa-e16a30d96703" data-linktype="relative-path">server</a>.</p><dl>
<dd>
<div><pre> typedef struct _SESSION_ENUM_STRUCT {
   DWORD Level;
   [switch_is(Level)] SESSION_ENUM_UNION SessionInfo;
 } SESSION_ENUM_STRUCT,
  *PSESSION_ENUM_STRUCT,
  *LPSESSION_ENUM_STRUCT;
</pre></div>
</dd></dl><p><b>Level:</b>  Specifies the information
level of the data. This parameter MUST have one of the following values.</p><dl>
<dd>
<table><thead>
  <tr>
   <th>
   <p>Value</p>
   </th>
   <th>
   <p>Meaning</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>0</td>
  <td>SESSION_INFO_0_CONTAINER</td>
 </tr><tr>
  <td>1</td>
  <td>SESSION_INFO_1_CONTAINER</td>
 </tr><tr>
  <td>2</td>
  <td>SESSION_INFO_2_CONTAINER</td>
 </tr><tr>
  <td>10</td>
  <td>SESSION_INFO_10_CONTAINER</td>
 </tr><tr>
  <td>502</td>
  <td>SESSION_INFO_502_CONTAINER</td>
 </tr></tbody></table>
</dd></dl><p><b>SessionInfo:</b>  Contains a session
info container whose type is specified by the <i>Level</i> parameter, as shown
in the preceding table. The enumerated session entries are returned in this
member.</p></div>