次の方法で共有


2.2.3 DOMAIN_GROUP_MEMBERSHIP

The DOMAIN_GROUP_MEMBERSHIP structure identifies a domain and groups to which an account belongs. It is sent within the PAC_DEVICE_INFO (section 2.12) structure.<2>

The DOMAIN_GROUP_MEMBERSHIP structure is defined as follows.

 typedef struct DOMAIN_GROUP_MEMBERSHIP {
     PISID DomainId;
     ULONG GroupCount;
     [size_is(GroupCount)] PGROUP_MEMBERSHIP GroupIds;
 } DOMAIN_GROUP_MEMBERSHIP, *PDOMAIN_GROUP_MEMBERSHIP;

DomainId: A SID structure that contains the SID for the domain. This member is used in conjunction with the GroupIds members to create group SIDs for the device.

GroupCount: A 32-bit unsigned integer that contains the number of groups within the domain to which the account belongs.

GroupIds: A pointer to a list of GROUP_MEMBERSHIP structures that contain the groups to which the account belongs in the domain. The number of groups in this list MUST be equal to GroupCount.