deleteUsers static method

XmlDocumentFragment deleteUsers(
  1. List<String> userNames
)

XML for the deleteUsers

Implementation

static XmlDocumentFragment deleteUsers(List<String> userNames) {
  Transport.builder.element('DeleteUsers', nest: () {
    Transport.builder.namespace(Xmlns.tds);

    for (var userName in userNames) {
      Transport.builder.element('Username', nest: userName);
    }
  });

  return Transport.builder.buildFragment();
}