public static WFGroupMember EnabledGroupMember(string groupName, string userName, bool enabled)
        {
            IWFAdminService svc         = Common.GetAdminAPI();
            WFGroupMember   GroupMember = null;

            try
            {
                GroupMember = svc.EnabledGroupMember(groupName, userName, enabled);
            }

            catch (Exception ex)
            {
            }
            return(GroupMember);
        }
Esempio n. 2
0
        public static WFGroupMember AddGroupMember(string groupName, string userName,
                                                   string description, string clientData, bool enable)
        {
            IWFAdminService svc   = Common.GetAdminAPI();
            WFGroupMember   group = null;

            try
            {
                group = svc.AddGroupMember(groupName, userName, description, clientData, enable);
            }

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