Platform SDK: Network Management

USER_INFO_1003

The USER_INFO_1003 structure contains a user password. This information level is valid only when you call the NetUserSetInfo function.

typedef struct _USER_INFO_1003 {
  LPWSTR    usri1003_password;
} USER_INFO_1003, *PUSER_INFO_1003, *LPUSER_INFO_1003;

Members

usri1003_password
Specifies a Unicode string that contains the password for the user account specified in the username parameter to the NetUserSetInfo function. The length cannot exceed PWLEN bytes.

The NetUserEnum and NetUserGetInfo functions return a NULL pointer to maintain password security.

Remarks

By convention, Windows NT/Windows 2000 limits the length of passwords to LM20_PWLEN characters. This convention allows LAN Manager, Windows 3.x, Windows for Workgroups 3.x, Windows 95, and Windows 98 clients to access a Windows NT/Windows 2000 server using the account.

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, NetUserEnum, NetUserGetInfo, NetUserSetInfo