/// <summary>
        /// Parse the RopModifyPermissionsRequest structure.
        /// </summary>
        /// <param name="s">A stream containing RopModifyPermissionsRequest structure.</param>
        public override void Parse(Stream s)
        {
            base.Parse(s);
            this.RopId            = (RopIdType)this.ReadByte();
            this.LogonId          = this.ReadByte();
            this.InputHandleIndex = this.ReadByte();
            this.ModifyFlags      = (ModifyFlags)this.ReadByte();
            this.ModifyCount      = this.ReadUshort();
            List <PermissionData> listPermissionData = new List <PermissionData>();

            for (int i = 0; i < this.ModifyCount; i++)
            {
                PermissionData tempPermissionData = new PermissionData();
                tempPermissionData.Parse(s);
                listPermissionData.Add(tempPermissionData);
            }

            this.PermissionsData = listPermissionData.ToArray();
        }
        /// <summary>
        /// Parse the RopModifyPermissionsRequest structure.
        /// </summary>
        /// <param name="s">An stream containing RopModifyPermissionsRequest structure.</param>
        public override void Parse(Stream s)
        {
            base.Parse(s);

            this.RopId = (RopIdType)ReadByte();
            this.LogonId = ReadByte();
            this.InputHandleIndex = ReadByte();
            this.ModifyFlags = (ModifyFlags)ReadByte();
            this.ModifyCount = ReadUshort();
            List<PermissionData> listPermissionData = new List<PermissionData>();
            for (int i = 0; i < ModifyCount; i++)
            {
                PermissionData tempPermissionData = new PermissionData();
                tempPermissionData.Parse(s);
                listPermissionData.Add(tempPermissionData);
            }
            this.PermissionsData = listPermissionData.ToArray();
        }