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/12 12:24,
18.227.134.45: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/func/src/f64_13.htm"> NetWkstaUserEnum</A> |
Did you find what you needed? |