Partager via


2.2.1.5.25 NETLOGON_RENAME_USER

The NETLOGON_RENAME_USER structure specifies a rename of a user account.

 typedef struct _NETLOGON_DELTA_RENAME_USER {
   UNICODE_STRING OldName;
   UNICODE_STRING NewName;
   UNICODE_STRING DummyString1;
   UNICODE_STRING DummyString2;
   UNICODE_STRING DummyString3;
   UNICODE_STRING DummyString4;
   ULONG DummyLong1;
   ULONG DummyLong2;
   ULONG DummyLong3;
   ULONG DummyLong4;
 } NETLOGON_RENAME_USER,
  *PNETLOGON_DELTA_RENAME_USER;

OldName: A UNICODE_STRING structure that contains the user account's previous name.

NewName: A UNICODE_STRING structure that contains the new name to assign to the user account.

DummyString1: A STRING structure, defined in section 2.2.1.1.2, that MUST contain 0 for the Length field, 0 for the MaximumLength field, and NULL for the Buffer field. It is ignored upon receipt. The Netlogon usage of dummy fields is defined in section 1.3.8.1.2.

DummyString2: See definition for DummyString1.

DummyString3: See definition for DummyString1.

DummyString4: See definition for DummyString1.

DummyLong1: MUST be set to zero and MUST be ignored on receipt. The Netlogon usage of dummy fields is defined in section 1.3.8.1.2.

DummyLong2: See definition for DummyLong1.

DummyLong3: See definition for DummyLong1.

DummyLong4: See definition for DummyLong1.