Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

USER_INFO_1005 structure

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.

Syntax


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. For more information about user and group account rights, see Privileges.

ValueMeaning
USER_PRIV_GUEST

Guest

USER_PRIV_USER

User

USER_PRIV_ADMIN

Administrator

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Lmaccess.h (include Lm.h)

See also

Network Management Overview
Network Management Structures
User Functions
NetUserSetInfo

 

 

Community Additions

ADD
Show:
© 2015 Microsoft