public UserEntry[] QueryUserEntries(string queryString, int? pageSize, int? pageNumber)
 {
     UserEntryEntity[] entities = new CriticalResultsEntityManager().QueryUserEntryEntities(queryString, pageSize, pageNumber);
     List<UserEntry> entries = new List<UserEntry>();
     foreach (UserEntryEntity entity in entities)
     {
         UserEntry entry = new UserEntry(entity);
         entry.ResolveUser();
         entries.Add(entry);
     }
     return entries.ToArray();
 }
        public bool ResolveEntries()
        {
            if (_Entity == null)
                return false;
            if (_Entity.UserEntries == null)
                return false;

            _UserEntries = new List<UserEntry>();
            foreach (UserEntryEntity e in _Entity.UserEntries)
            {
                if (e.Key == "ANCR")
                    _HasPassword = true;
                //if (e.RestrictedAccess == false)
                {
                    UserEntry u = new UserEntry(e);
                    _UserEntries.Add(u);
                }
            }
            return true;
        }