Partager via


2.2.1.5.18 NETLOGON_DELTA_ID_UNION

The NETLOGON_DELTA_ID_UNION union defines an account identifier type that is selected based on the requested database change.

 typedef 
 [switch_type(NETLOGON_DELTA_TYPE)] 
 union _NETLOGON_DELTA_ID_UNION {
   [case(AddOrChangeDomain,  AddOrChangeGroup,  DeleteGroup,  RenameGroup,  AddOrChangeUser,  DeleteUser,  RenameUser,  ChangeGroupMembership,  AddOrChangeAlias,  DeleteAlias,  RenameAlias,  ChangeAliasMembership,  DeleteGroupByName,  DeleteUserByName)] 
     ULONG Rid;
   [case(AddOrChangeLsaPolicy,  AddOrChangeLsaTDomain,  DeleteLsaTDomain,  AddOrChangeLsaAccount,  DeleteLsaAccount)] 
     PRPC_SID Sid;
   [case(AddOrChangeLsaSecret,  DeleteLsaSecret)] 
     [string] wchar_t* Name;
   [default]     ;
 } NETLOGON_DELTA_ID_UNION,
  *PNETLOGON_DELTA_ID_UNION;

Rid: A 32-bit RID whose type is selected when the following delta types are switched: AddOrChangeDomain(1), AddOrChangeGroup(2), RenameGroup(4), DeleteGroup(3), AddOrChangeUser(5), DeleteUser(6), RenameUser(7), ChangeGroupMembership(8), AddOrChangeAlias(9), DeleteAlias(10), RenameAlias(11), ChangeAliasMembership(12), DeleteGroupByName(20), and DeleteUserByName(21).

Sid: A pointer to a SID whose type is selected when the following delta types are switched: AddOrChangeLsaPolicy(13), AddOrChangeLsaDomain(14), DeleteLsaTDomain(15), AddOrChangeLsaAccount(16), and DeleteLsaAccount(17).

Name: A null-terminated Unicode string that contains an identifier name. This identifier type is selected when the following delta types are switched: AddOrChangeLsaSecret(18) and DeleteLsaSecret(19).