NetWkstaUserGetInfo
The NetWkstaUserGetInfo
function returns information about the currently logged-on user. This function
must be called in the context of the logged-on user.
Security Requirements
This function
only works locally.
NET_API_STATUS NetWkstaUserGetInfo(
LPTSTR reserved, |
|
DWORD level, |
|
LPBYTE *bufptr |
|
); |
|
Parameters
reserved
This
parameter must be set to NULL.
level
Specifies one
of the following values to return the level of information provided.
Value |
Meaning |
0 |
The bufptr
parameter points to a WKSTA_USER_INFO_0 |
1 |
The bufptr
parameter points to a WKSTA_USER_INFO_1 |
1101 |
The bufptr
parameter points to a WKSTA_USER_INFO_11011Q9UGD1 structure. |
bufptr
On return, a
pointer to the return information structure is returned in the address pointed
to by bufptr.
See Also