Exemple #1
0
            public GDataTypes.GDataGroupMemberEntrys CreateGroupMemberEntrys(AppsExtendedFeed groupMemberEntrys)
            {
                var _gDataGroupMemberEntrys = new GDataTypes.GDataGroupMemberEntrys();
                foreach (AppsExtendedEntry _groupMemberEntry in groupMemberEntrys.Entries)
                {
                    var _gDataGroupMemberEntry = new GDataTypes.GDataGroupMemberEntry();
                    foreach (var _setting in _groupMemberEntry.Properties)
                    {
                        if (_setting.Name == "memberId")
                        {
                            _gDataGroupMemberEntry.MemberId = _setting.Value;
                        }
                        else if (_setting.Name == "memberType")
                        {
                            _gDataGroupMemberEntry.MemberType = _setting.Value;
                        }
                        else if (_setting.Name == "directMember")
                        {
                            _gDataGroupMemberEntry.DirectMember = _setting.Value;
                        }

                    }
                    _gDataGroupMemberEntrys.Add(_gDataGroupMemberEntry);
                }

                return _gDataGroupMemberEntrys;
            }
Exemple #2
0
            public GDataTypes.GDataGroupMemberEntry CreateGroupMemberEntry(AppsExtendedEntry groupMemberEntry)
            {
                var _gDataGroupMemberEntry = new GDataTypes.GDataGroupMemberEntry();
                foreach (var _setting in groupMemberEntry.Properties)
                {
                    if (_setting.Name == "memberId")
                    {
                        _gDataGroupMemberEntry.MemberId = _setting.Value;
                    }
                    else if (_setting.Name == "memberType")
                    {
                        _gDataGroupMemberEntry.MemberType = _setting.Value;
                    }
                    else if (_setting.Name == "directMember")
                    {
                        _gDataGroupMemberEntry.DirectMember = _setting.Value;
                    }

                }
                return _gDataGroupMemberEntry;
            }