internal void Assign(IntraRole role)
 {
     this.Role                 = role.Role;
     this.Admin                = role.Admin;
     this.UsefullLimks         = role.UsefullLimks;
     this.WS_ViewVisit         = role.WS_ViewVisit;
     this.WS_CreateVisit       = role.WS_CreateVisit;
     this.WS_DelCompany        = role.WS_DelCompany;
     this.WS_Settings          = role.WS_Settings;
     this.T2rT_RecordChecklist = role.T2rT_RecordChecklist;
     this.T2rT_EditChecklist   = role.T2rT_EditChecklist;
 }
 /// <summary>
 /// Átveszi a paraméterként megadott IntraRole objektum jogosultságait
 /// </summary>
 /// <param name="dbrole"></param> Az objektum, mely jogosultságait le kell származtatni.
 public void Add(IntraRole dbrole)
 {
     this.Role = this.Role == "" ? dbrole.Role : this.Role + "," + dbrole.Role;
     if (!this.Admin && dbrole.Admin)
     {
         this.Admin = true;
     }
     if (!this.HomePage && dbrole.HomePage)
     {
         this.HomePage = true;
     }
     if (!this.UsefullLimks && dbrole.UsefullLimks)
     {
         this.UsefullLimks = true;
     }
     if (!this.WS_ViewVisit && dbrole.WS_ViewVisit)
     {
         this.WS_ViewVisit = true;
     }
     if (!this.WS_CreateVisit && dbrole.WS_CreateVisit)
     {
         this.WS_CreateVisit = true;
     }
     if (!this.WS_DelCompany && dbrole.WS_DelCompany)
     {
         this.WS_DelCompany = true;
     }
     if (!this.WS_Settings && dbrole.WS_Settings)
     {
         this.WS_Settings = true;
     }
     if (!this.T2rT_RecordChecklist && dbrole.T2rT_RecordChecklist)
     {
         this.T2rT_RecordChecklist = true;
     }
     if (!this.T2rT_EditChecklist && dbrole.T2rT_EditChecklist)
     {
         this.T2rT_EditChecklist = true;
     }
 }