Compartir a través de


2.2.5.14 WKSTA_USER_ENUM_STRUCT

The WKSTA_USER_ENUM_STRUCT structure is used by the NetrWkstaUserEnum method (section 3.2.4.3) to encapsulate the _WKSTA_USER_ENUM_UNION union.

 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;

Level: The information level of the data, which determines the type of structure that the method returns. It MUST be one of the following values.

Value

Meaning

0x00000000

Specifies the WKSTA_USER_INFO_0_CONTAINER structure (section 2.2.5.12).

0x00000001

Specifies the WKSTA_USER_INFO_1_CONTAINER structure (section 2.2.5.13).

WkstaUserInfo: A WKSTA_USER_INFO_0_CONTAINER structure or a WKSTA_USER_INFO_1_CONTAINER structure.