public static void AddListUser(string domainName, string userName, string NewUserAddressID, MLPERMISSIONS permisson) { try { XMLayer xm = new XMLayer(); xm = XMServer.CreateXMLayer(); xm.Login(); xm.AddMailingListUser(domainName, userName, NewUserAddressID, permisson); xm.Logout(); } catch (Exception error) { Log.WriteException(error); throw; } }