The USER_INFO_11 structure contains user information for network accounts.
typedef struct _USER_INFO_11 {
LPWSTR usri11_name;
LPWSTR usri11_comment;
LPWSTR usri11_usr_comment;
LPWSTR usri11_full_name;
DWORD usri11_priv;
DWORD usri11_auth_flags;
DWORD usri11_password_age;
LPWSTR usri11_home_dir;
LPWSTR usri11_parms;
DWORD usri11_last_logon;
DWORD usri11_last_logoff;
DWORD usri11_bad_pw_count;
DWORD usri11_num_logons;
LPWSTR usri11_logon_server;
DWORD usri11_country_code;
LPWSTR usri11_workstations;
DWORD usri11_max_storage;
DWORD usri11_units_per_week;
PBYTE usri11_logon_hours;
DWORD usri11_code_page;
}USER_INFO_11, *PUSER_INFO_11, *LPUSER_INFO_11;
Value |
Meaning |
USER_PRIV_GUEST |
Guest |
USER_PRIV_USER |
User |
USER_PRIV_ADMIN |
Administrator |
For Windows NT servers, the following restrictions apply; for NetUserAdd, this member must be 0. For NetUserSetInfo, this member must be the value returned from NetUserGetInfo or NetUserEnum.
For NetUserGetInfo or NetUserEnum, the appropriate value is returned based on the local group membership. If the user is a member of Print Operations, AF_OP_PRINT is set. If the user is a member of Server Operations, AF_OP_SERVER is set. If the user is a member of the Account Operations, AF_OP_ACCOUNTS is set. AF_OP_COMM is never set.
The NetUserAdd and NetUserSetInfo functions ignore this member.
This member can be one of the following values:
Value |
Meaning |
AF_OP_PRINT |
The print operator privilege is enabled. |
AF_OP_COMM |
The communications operator privilege is enabled. |
AF_OP_SERVER |
The server operator privilege is enabled. |
AF_OP_ACCOUNTS |
The accounts operator privilege is enabled. |
usri11_parms
NetUserAdd, NetUserDel, NetUserEnum, NetUserGetInfo, NetUserSetInfo
file: /Techref/os/win/api/win32/struc/src/str22_25.htm, 11KB, , updated: 2000/4/7 11:20, local time: 2024/11/12 11:46,
3.144.34.110:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://linistepper.com/techref/os/win/api/win32/struc/src/str22_25.htm"> USER_INFO_11</A> |
Did you find what you needed? |