/// <summary> /// Reader returns fields: /// GroupId, GroupName /// </summary> public static IDataReader GetListAvailableGroups() { if (!Security.IsUserInGroup(InternalSecureGroups.Partner)) { return(DBGroup.GetListAvailableGroups()); } else { return(DBGroup.GetListAvailableGroupsForPartner(Security.CurrentUser.UserID)); } }