private void AddAccessRight(AccessRight ar)
 {
     accessRights.Add(ar);
 }
 public bool HasAccessRight(AccessRight r)
 {
     if (accessRights.Contains(r)) return true;
     return false;
 }