The NetWkstaUserGetInfo function returns information about the currently logged-on user. This function must be called in the context of the logged-on user.
This function only works locally.
NET_API_STATUS NetWkstaUserGetInfo(
|
LPTSTR reserved, | |
|
DWORD level, | |
|
LPBYTE *bufptr | |
|
); |
|
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. |
|
1101 |
The bufptr parameter points to a WKSTA_USER_INFO_1101 structure. |