Platform SDK: Network Management

USER_INFO_1023

The USER_INFO_1023 structure contains the name of the server to which network logon requests should be sent. This information level is valid only when you call the NetUserSetInfo function.

typedef struct _USER_INFO_1023 {
  LPWSTR    usri1023_logon_server;
} USER_INFO_1023, *PUSER_INFO_1023, *LPUSER_INFO_1023;

Members

usri1023_logon_server
Pointer to a Unicode string that contains the name of the server to which logon requests for the user account should be sent. The user account is specified in the username parameter to the NetUserSetInfo function.

Server names should be preceded by two backslashes (\\). To indicate that the logon request can be handled by any logon server, specify an asterisk (\\*) for the server name. A null string indicates that requests should be sent to the domain controller.

Windows NT/2000: For Windows NT/Windows 2000 servers, the NetUserSetInfo function does not support this level.

Requirements

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

See Also

Network Management Overview, Network Management Structures, User Functions, NetUserSetInfo