public void CopySession() { if (HttpContext.Current != null && HttpContext.Current.Session != null) { if (Util2.UseNewOrg) { if (CurrentOrg == null) { CurrentOrg = new CurrentOrg() { Id = Util2.CurrentOrgId } } ; CurrentOrgId = CurrentOrg.Id; } else { CurrentOrgId = Util2.CurrentOrgId; CurrentGroups = Util2.CurrentGroups; CurrentGroupsPrefix = Util2.CurrentGroupsPrefix; CurrentGroupsMode = Util2.CurrentGroupsMode; } CurrentPeopleId = Util2.CurrentPeopleId; CurrentTagOwnerId = Util2.CurrentTagOwnerId; CurrentTagName = Util2.CurrentTagName; OrgLeadersOnly = Util2.OrgLeadersOnly; VisitLookbackDays = Util2.VisitLookbackDays; Host = Util.Host; } }
public void SetCurrentOrgId(int? id) { if(CurrentOrg == null) CurrentOrg = new CurrentOrg() { GroupSelect = Codes.GroupSelectCode.Member }; CurrentOrgId = id; CurrentOrg.Id = id; }
public void SetCurrentOrgId(int?id) { if (CurrentOrg == null) { CurrentOrg = new CurrentOrg() { GroupSelect = Codes.GroupSelectCode.Member } } ; CurrentOrgId = id; CurrentOrg.Id = id; }
public void CopySession() { if (HttpContext.Current != null && HttpContext.Current.Session != null) { if (CurrentOrg == null) { CurrentOrg = new CurrentOrg() { Id = Util2.CurrentOrgId } } ; CurrentOrgId = CurrentOrg.Id; CurrentPeopleId = Util2.CurrentPeopleId; CurrentTagOwnerId = Util2.CurrentTagOwnerId; CurrentTagName = Util2.CurrentTagName; OrgLeadersOnly = Util2.OrgLeadersOnly; VisitLookbackDays = Util2.VisitLookbackDays; Host = Util.Host; } }
public void CopySession() { if (HttpContext.Current != null && HttpContext.Current.Session != null) { if (Util2.UseNewOrg) { if (CurrentOrg == null) CurrentOrg = new CurrentOrg() {Id = Util2.CurrentOrgId}; CurrentOrgId = CurrentOrg.Id; } else { CurrentOrgId = Util2.CurrentOrgId; CurrentGroups = Util2.CurrentGroups; CurrentGroupsPrefix = Util2.CurrentGroupsPrefix; CurrentGroupsMode = Util2.CurrentGroupsMode; } CurrentPeopleId = Util2.CurrentPeopleId; CurrentTagOwnerId = Util2.CurrentTagOwnerId; CurrentTagName = Util2.CurrentTagName; OrgMembersOnly = Util2.OrgMembersOnly; OrgLeadersOnly = Util2.OrgLeadersOnly; VisitLookbackDays = Util2.VisitLookbackDays; Host = Util.Host; } }
public void CopySession() { if (HttpContext.Current != null && HttpContext.Current.Session != null) { if (CurrentOrg == null) CurrentOrg = new CurrentOrg() {Id = Util2.CurrentOrgId}; CurrentOrgId = CurrentOrg.Id; CurrentPeopleId = Util2.CurrentPeopleId; CurrentTagOwnerId = Util2.CurrentTagOwnerId; CurrentTagName = Util2.CurrentTagName; OrgLeadersOnly = Util2.OrgLeadersOnly; VisitLookbackDays = Util2.VisitLookbackDays; Host = Util.Host; } }