WKSTA_USER_INFO_1

The WKSTA_USER_INFO_1 structure contains user information about a specified workstation, including the name of the current user, the operating system 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
Returns the name of the user currently logged on to the workstation.
wkui1_logon_domain
Returns the domain name of the user account of the user currently logged on to the workstation.
wkui1_oth_domains
Returns the list of other operating system domains browsed by the workstation. The domain names are separated by blanks.
wkui1_logon_server
Returns the name of the computer that authenticated the server.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in lmwksta.h.

See Also

Networking (Net) Overview, Net Structures, NetWkstaUserEnum, NetWkstaUserGetInfo, NetWkstaUserSetInfo