Enables or disables a user as a member of a group.
WFGroupMember object.
IWFAdminService svc = GetAdminService(); string groupName = "Administrative"; string userName = @"Demo3\Administrator"; bool enabled =false; try { svc.EnabledGroupMember(groupName, userName, enabled); } catch (Exception ex) { Console.WriteLine("Failed! " + ShUtil.GetSoapMessage(ex)); }
3.2.0.4 and higher