public static WFGroup GetGroup(string groupName) { IWFAdminService svc = Common.GetAdminAPI(); WFGroup grpInfo = null; try { grpInfo = svc.GetGroup(groupName); } catch (Exception ex) { } return(grpInfo); }
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); }