Exemple #1
0
        public virtual IList FindUsersByGroupAndRole(String groupId, String role, Relations relations)
        {
            IList     users     = null;
            DbSession dbSession = null;

            try
            {
                dbSession = OpenSession();
                users     = implementation.FindUsersByGroupAndRole(groupId, role, relations, dbSession);
            }
            catch (Exception t)
            {
                log.Error("error when finding users by group id " + groupId + " and role " + role, t);
            }
            return(users);
        }