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.
Value Meaning - 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 |
|
See also