Ejemplo n.º 1
0
        /// <summary>
        /// trigger to start iteration over all profiles in the give groupname
        /// </summary>
        /// <param name="groupName">Groupname for iteration</param>
        public void startIterateGroup(string groupName)
        {
            GroupProfilWorker worker = new GroupProfilWorker(new PConfig());
            List <string>     grps   = worker.getGroupMember(groupName);

            foreach (string membername in grps)
            {
                this.iterate(membername);
            }
        }
Ejemplo n.º 2
0
        public ResultList getGroupMemberAsResultList(string groupName, string name)
        {
            GroupProfilWorker worker = new GroupProfilWorker(new PConfig());
            List <string>     grps   = worker.getGroupMember(groupName);

            ResultList result = new ResultList();

            result.AddColumn(name);

            foreach (string membername in grps)
            {
                int rowIndex = result.AddRow();
                result.setValue(name, rowIndex, membername);
            }
            return(result);
        }