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