Prev Next
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
|
See Also
NetUserSetInfo
Questions:
-
abhishekchatterjee123@rediffmail.com asks: "
why does not NetUserSetInfo work on windows XP .The last parameter of the function gives an error number 5.What can be the reason behind it?"