Freigeben über


2.2.4.7 SAMPR_GROUP_INFO_BUFFER

The SAMPR_GROUP_INFO_BUFFER union combines all possible structures used in the SamrSetInformationGroup and SamrQueryInformationGroup methods. For information on each field, with the exception of the DoNotUse field, see the associated section for the field structure.

 typedef 
 [switch_type(GROUP_INFORMATION_CLASS)] 
 union _SAMPR_GROUP_INFO_BUFFER {
   [case(GroupGeneralInformation)] 
     SAMPR_GROUP_GENERAL_INFORMATION General;
   [case(GroupNameInformation)] 
     SAMPR_GROUP_NAME_INFORMATION Name;
   [case(GroupAttributeInformation)] 
     GROUP_ATTRIBUTE_INFORMATION Attribute;
   [case(GroupAdminCommentInformation)] 
     SAMPR_GROUP_ADM_COMMENT_INFORMATION AdminComment;
   [case(GroupReplicationInformation)] 
     SAMPR_GROUP_GENERAL_INFORMATION DoNotUse;
 } SAMPR_GROUP_INFO_BUFFER,
  *PSAMPR_GROUP_INFO_BUFFER;

DoNotUse: This field exists to allow the GroupReplicationInformation enumeration to be specified by the client.

As specified in section 3.1.5.5.3.1, the General field (instead of DoNotUse) MUST be used by the server when GroupReplicationInformation is received. GroupReplicationInformation is not valid for a set operation.