KERB_CHANGEPASSWORD_REQUEST structure (ntsecapi.h)

The KERB_CHANGEPASSWORD_REQUEST structure contains information used to change a password.

Syntax

typedef struct _KERB_CHANGEPASSWORD_REQUEST {
  KERB_PROTOCOL_MESSAGE_TYPE MessageType;
  UNICODE_STRING             DomainName;
  UNICODE_STRING             AccountName;
  UNICODE_STRING             OldPassword;
  UNICODE_STRING             NewPassword;
  BOOLEAN                    Impersonating;
} KERB_CHANGEPASSWORD_REQUEST, *PKERB_CHANGEPASSWORD_REQUEST;

Members

MessageType

DomainName

UNICODE_STRING that contains the domain name of the account for which to change the password.

AccountName

UNICODE_STRING that contains the account name of the account for which to change the password.

OldPassword

UNICODE_STRING that contains the old password to be changed.

NewPassword

UNICODE_STRING that contains the new password.

Impersonating

TRUE if the client is impersonating another security principal. Otherwise, false.

Requirements

   
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header ntsecapi.h