Example #1
0
 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;
     }
 }
Example #2
0
 public void SetCurrentOrgId(int? id)
 {
     if(CurrentOrg == null)
         CurrentOrg = new CurrentOrg() { GroupSelect = Codes.GroupSelectCode.Member };
     CurrentOrgId = id;
     CurrentOrg.Id = id;
 }
Example #3
0
 public void SetCurrentOrgId(int?id)
 {
     if (CurrentOrg == null)
     {
         CurrentOrg = new CurrentOrg()
         {
             GroupSelect = Codes.GroupSelectCode.Member
         }
     }
     ;
     CurrentOrgId  = id;
     CurrentOrg.Id = id;
 }
Example #4
0
 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;
     }
 }
Example #5
0
 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;
     }
 }
Example #6
0
 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;
     }
 }