Ejemplo n.º 1
0
        public static WFGroup GetGroup(string groupName)
        {
            IWFAdminService svc     = Common.GetAdminAPI();
            WFGroup         grpInfo = null;

            try
            {
                grpInfo = svc.GetGroup(groupName);
            }
            catch (Exception ex)
            {
            }
            return(grpInfo);
        }
Ejemplo n.º 2
0
        public static WFGroup AddGroup(string groupName, string description, string responsibleUser, bool enabled)
        {
            IWFAdminService svc   = Common.GetAdminAPI();
            WFGroup         group = null;

            try
            {
                group = svc.AddGroup(groupName, description, responsibleUser, enabled);
            }

            catch (Exception ex)
            {
            }
            return(group);
        }