WKSTA_USER_INFO_1 structure (lmwksta.h)
The WKSTA_USER_INFO_1 structure contains user information as it pertains to a specific workstation. The information includes the name of the current user and the domains accessed by the workstation.
Syntax
typedef struct _WKSTA_USER_INFO_1 {
LMSTR wkui1_username;
LMSTR wkui1_logon_domain;
LMSTR wkui1_oth_domains;
LMSTR wkui1_logon_server;
} WKSTA_USER_INFO_1, *PWKSTA_USER_INFO_1, *LPWKSTA_USER_INFO_1;
Members
wkui1_username
Specifies the name of the user currently logged on to the workstation.
This string is Unicode if _WIN32_WINNT or FORCE_UNICODE are defined.
wkui1_logon_domain
Specifies the name of the domain in which the user is currently logged on.
This string is Unicode if _WIN32_WINNT or FORCE_UNICODE are defined.
wkui1_oth_domains
Specifies the list of operating system domains browsed by the workstation. The domain names are separated by blanks.
This string is Unicode if _WIN32_WINNT or FORCE_UNICODE are defined.
wkui1_logon_server
Specifies the name of the server that authenticated the user.
This string is Unicode if _WIN32_WINNT or FORCE_UNICODE are defined.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | lmwksta.h (include Lm.h) |