IWFAdminService svc = GetAdminService();
string roleName = ...// for examples, "Engineers"
string userName = ...// for example, @"VIT\ct-002"
try
{
svc.RemoveGroupMember(roleName, userName);
}
catch (Exception ex)
{
Console.WriteLine("Failed! " + ShUtil.GetSoapMessage(ex));
}