Platform SDK: Network Management

WKSTA_USER_INFO_1

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, the domains accessed by the workstation, and user account information.

typedef struct _WKSTA_USER_INFO_1 {
  LPWSTR    wkui1_username;
  LPWSTR    wkui1_logon_domain;
  LPWSTR    wkui1_oth_domains;
  LPWSTR    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.
wkui1_logon_domain
Specifies the name of the domain in which the user is currently logged on.
wkui1_oth_domains
Specifies the list of operating system domains browsed by the workstation. The domain names are separated by blanks.
wkui1_logon_server
Specifies the name of the computer that authenticated the server.

Requirements

  Windows NT/2000: Requires Windows NT 3.1 or later.
  Windows 95/98: Unsupported.
  Header: Declared in Lmwksta.h.

See Also

Network Management Overview, Network Management Structures, Workstation and Workstation User Functions, NetWkstaUserEnum, NetWkstaUserGetInfo, NetWkstaUserSetInfo