NET_VALIDATE_PASSWORD_RESET_INPUT_ARG structure (lmaccess.h)

A client application passes the NET_VALIDATE_PASSWORD_RESET_INPUT_ARG structure to the NetValidatePasswordPolicy function when the application requests a password reset validation.

Syntax

typedef struct _NET_VALIDATE_PASSWORD_RESET_INPUT_ARG {
  NET_VALIDATE_PERSISTED_FIELDS InputPersistedFields;
  LPWSTR                        ClearPassword;
  LPWSTR                        UserAccountName;
  NET_VALIDATE_PASSWORD_HASH    HashedPassword;
  BOOLEAN                       PasswordMustChangeAtNextLogon;
  BOOLEAN                       ClearLockout;
} NET_VALIDATE_PASSWORD_RESET_INPUT_ARG, *PNET_VALIDATE_PASSWORD_RESET_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.

PasswordMustChangeAtNextLogon

BOOLEAN value that indicates whether the user must change his or her password at the next logon. If this parameter is TRUE, the user must change the password at the next logon.

ClearLockout

BOOLEAN value that can reset the "lockout state" of the user account. If this member is TRUE, the account will no longer be locked out. Note that an application cannot directly lock out an account. An account can be locked out only as a result of exceeding the maximum number of invalid password authentications allowed for the account.

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