USER_INFO_1005

The USER_INFO_1005 structure contains user information for network accounts.

typedef struct _USER_INFO_1005 {
    DWORD    usri1005_priv;
} USER_INFO_1005, *PUSER_INFO_1005, *LPUSER_INFO_1005;
 

Members

usri1005_priv
One of three values specifying the level of privilege assigned the usri1_name member. For NetUserAdd, this member must be USER_PRIV_USER. For NetUserSetInfo, this member must be the value returned from NetUserGetInfo or NetUserEnum. This member can be one of the following values:
Value Meaning
USER_PRIV_GUEST Guest
USER_PRIV_USER User
USER_PRIV_ADMIN Administrator

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in lmaccess.h.

See Also

Networking (Net) Overview, Net Structures, NetUserSetInfo