private void Unmarshal(_Unmarshal_HelperDeviceInfo u)
 {
     Revision            = u.ReadByte();
     SubAuthorityCount   = u.ReadByte();
     IdentifierAuthority = u.Read_2();
     SubAuthority        = u.Read_11();
 }
        internal static System.Nullable <PAC_DEVICE_INFO> Decode(NtApiDotNet.Ndr.Marshal.NdrPickledType pickled_type)
        {
            _Unmarshal_HelperDeviceInfo u = new _Unmarshal_HelperDeviceInfo(pickled_type);

            System.Nullable <PAC_DEVICE_INFO> v;
            v = u.ReadReferentValue <PAC_DEVICE_INFO>(new System.Func <PAC_DEVICE_INFO>(u.Read_0), false);
            return(v);
        }
 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();
 }
 private void Unmarshal(_Unmarshal_HelperDeviceInfo u)
 {
     RelativeId = u.ReadInt32();
     Attributes = u.ReadInt32();
 }
 private void Unmarshal(_Unmarshal_HelperDeviceInfo u)
 {
     Value = u.Read_12();
 }