The NetWkstaUserEnum function lists information about all users currently logged on to the workstation. This list includes interactive, service and batch logons.
Only members of the Administrators local group can successfully execute NetWkstaUserEnum both locally and on a remote server.
NET_API_STATUS NetWkstaUserEnum(
LPTSTR servername, | |
DWORD level, | |
LPBYTE *bufptr, | |
DWORD prefmaxlen, | |
LPDWORD entriesread, | |
LPDWORD totalentries, | |
LPDWORD resumehandle | |
); |
Value |
Meaning |
0 |
The bufptr parameter points to a WKSTA_USER_INFO_0 structure. |
1 |
The bufptr parameter points to a WKSTA_USER_INFO_1 structure. |
NetWkstaGetInfo, NetWkstaSetInfo
file: /Techref/os/win/api/win32/func/src/f64_13.htm, 4KB, , updated: 2000/4/7 11:19, local time: 2024/11/18 03:56,
3.148.106.105:LOG IN
|
©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://massmind.ecomorder.com/Techref/os/win/api/win32/func/src/f64_13.htm"> NetWkstaUserEnum</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to massmind.ecomorder.com! |
.