Platform SDK: Network Management

USER_INFO_1005

The USER_INFO_1005 structure contains a privilege level to assign to a user network account. This information level is valid only when you call the NetUserSetInfo function.

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

Members

usri1005_priv
Specifies a DWORD value that indicates the level of privilege to assign for the user account specified in the username parameter to the NetUserSetInfo function. This member can be one of the following values.
Value Meaning
USER_PRIV_GUEST Guest
USER_PRIV_USER User
USER_PRIV_ADMIN Administrator

Requirements

  Windows NT/2000: Requires Windows NT 3.1 or later.
  Windows 95/98: Unsupported.
  Header: Declared in Lmaccess.h.

See Also

Network Management Overview, Network Management Structures, User Functions, NetUserSetInfo