<div class="content" name="WKSTA_USER_ENUM_STRUCT" uuid="4041455a-52be-4389-a4fc-82fea3cb3160"><p>The <b>WKSTA_USER_ENUM_STRUCT</b> structure is used by the <b>NetrWkstaUserEnum</b>
method (section <a href="55118c55-2122-4ef9-8664-0c1ff9e168f3" data-linktype="relative-path">3.2.4.3</a>)
to encapsulate the <i>_WKSTA_USER_ENUM_UNION</i> union.</p><dl>
<dd>
<div><pre> typedef struct _WKSTA_USER_ENUM_STRUCT {
   unsigned long Level;
   [switch_is(Level)] union _WKSTA_USER_ENUM_UNION {
     [case(0)] 
       LPWKSTA_USER_INFO_0_CONTAINER Level0;
     [case(1)] 
       LPWKSTA_USER_INFO_1_CONTAINER Level1;
     [default]       ;
   } WkstaUserInfo;
 } WKSTA_USER_ENUM_STRUCT,
  *PWKSTA_USER_ENUM_STRUCT,
  *LPWKSTA_USER_ENUM_STRUCT;
</pre></div>
</dd></dl><p><b>Level:</b> The information level of the data,
which determines the type of structure that the method returns. It MUST be 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>0x00000000</td>
  <td>Specifies the WKSTA_USER_INFO_0_CONTAINER structure (section 2.2.5.12).</td>
 </tr><tr>
  <td>0x00000001</td>
  <td>Specifies the WKSTA_USER_INFO_1_CONTAINER structure (section 2.2.5.13).</td>
 </tr></tbody></table>
</dd></dl><p><b>WkstaUserInfo:</b> A <b>WKSTA_USER_INFO_0_CONTAINER</b>
structure or a <b>WKSTA_USER_INFO_1_CONTAINER</b> structure.</p></div>