public static List <Group> PrepareCompressedData(List <Group> list)
        {
            string       cData          = DataCompressionHelper.CompressGroupMembership(list);
            List <Group> compressedList = new List <Group>();
            Group        dummyGroup     = new Group();

            AttributesHelper.SetAttributeValue("CompressedData", cData, dummyGroup.get_AttributesBusinessObject(), 3);
            compressedList.Add(dummyGroup);
            return(compressedList);
        }
        public static List <IdentityStoreObject> PrepareCompressedData(List <IdentityStoreObject> list)
        {
            string cData = DataCompressionHelper.CompressObjects <List <IdentityStoreObject> >(list);
            List <IdentityStoreObject> compressedList = new List <IdentityStoreObject>();
            IdentityStoreObject        dummyGroup     = new IdentityStoreObject();

            AttributesHelper.SetAttributeValue("CompressedData", cData, dummyGroup.get_AttributesBusinessObject(), 3);
            compressedList.Add(dummyGroup);
            return(compressedList);
        }