NET_VALIDATE_PASSWORD_CHANGE_INPUT_ARG structure (lmaccess.h)

A client application passes the NET_VALIDATE_PASSWORD_CHANGE_INPUT_ARG structure to the NetValidatePasswordPolicy function when the application requests a password change validation.

Syntax

typedef struct _NET_VALIDATE_PASSWORD_CHANGE_INPUT_ARG {
  NET_VALIDATE_PERSISTED_FIELDS InputPersistedFields;
  LPWSTR                        ClearPassword;
  LPWSTR                        UserAccountName;
  NET_VALIDATE_PASSWORD_HASH    HashedPassword;
  BOOLEAN                       PasswordMatch;
} NET_VALIDATE_PASSWORD_CHANGE_INPUT_ARG, *PNET_VALIDATE_PASSWORD_CHANGE_INPUT_ARG;

Members

InputPersistedFields

Specifies a NET_VALIDATE_PERSISTED_FIELDS structure that contains persistent password-related information about the account being logged on.

ClearPassword

Pointer to a Unicode string specifying the new password, in plaintext format.

UserAccountName

Pointer to a Unicode string specifying the name of the user account.

HashedPassword

Specifies a NET_VALIDATE_PASSWORD_HASH structure that contains a hash of the new password.

PasswordMatch

BOOLEAN value that indicates the result of the application's attempt to validate the old password supplied by the user. If this parameter is FALSE, the password was not validated.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2003 [desktop apps only]
Header lmaccess.h (include Lm.h)

See also

NetValidatePasswordPolicy

Network Management Overview

Network Management Structures