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

typedef struct _WKSTA_USER_INFO_1 {
LPTSTR wkui1_username;
LPTSTR wkui1_logon_domain;
LPTSTR wkui1_oth_domains;
LPTSTR 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 LAN Manager 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.

See Also

NetWkstaUserEnum, NetWkstaUserGetInfo, NetWkstaUserSetInfo