private void Unmarshal(_Unmarshal_HelperDeviceInfo u)
 {
     UserId            = u.ReadInt32();
     PrimaryGroupId    = u.ReadInt32();
     AccountDomainId   = u.ReadEmbeddedPointer <RPC_SID_DEVICE>(new System.Func <RPC_SID_DEVICE>(u.Read_1), false);
     AccountGroupCount = u.ReadInt32();
     AccountGroupIds   = u.ReadEmbeddedPointer <GROUP_MEMBERSHIP_DEVICE[]>(new System.Func <GROUP_MEMBERSHIP_DEVICE[]>(u.Read_8), false);
     SidCount          = u.ReadInt32();
     ExtraSids         = u.ReadEmbeddedPointer <KERB_SID_AND_ATTRIBUTES_DEVICE[]>(new System.Func <KERB_SID_AND_ATTRIBUTES_DEVICE[]>(u.Read_9), false);
     DomainGroupCount  = u.ReadInt32();
     DomainGroup       = u.ReadEmbeddedPointer <DOMAIN_GROUP_MEMBERSHIP[]>(new System.Func <DOMAIN_GROUP_MEMBERSHIP[]>(u.Read_10), false);
 }
 private void Unmarshal(_Unmarshal_HelperDeviceInfo u)
 {
     DomainId   = u.ReadEmbeddedPointer <RPC_SID_DEVICE>(new System.Func <RPC_SID_DEVICE>(u.Read_1), false);
     GroupCount = u.ReadInt32();
     GroupIds   = u.ReadEmbeddedPointer <GROUP_MEMBERSHIP_DEVICE[]>(new System.Func <GROUP_MEMBERSHIP_DEVICE[]>(u.Read_15), false);
 }
 private void Unmarshal(_Unmarshal_HelperDeviceInfo u)
 {
     Sid        = u.ReadEmbeddedPointer <RPC_SID_DEVICE>(new System.Func <RPC_SID_DEVICE>(u.Read_1), false);
     Attributes = u.ReadInt32();
 }