<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>AXL API CUCM 8.5 ListUser method - How display the list of all users ?</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=9168823" />
  <subtitle>AXL API CUCM 8.5 ListUser method - How display the list of all users ?</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=9168823</id>
  <updated>2013-06-19T00:22:58Z</updated>
  <dc:date>2013-06-19T00:22:58Z</dc:date>
  <entry>
    <title>AXL API CUCM 8.5 ListUser method - How display the list of all users ?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9168822" />
    <author>
      <name>Benoit Barcy</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9168822</id>
    <updated>2012-12-07T11:12:18Z</updated>
    <published>2012-12-07T10:40:03Z</published>
    <summary type="html">Hello, I need help :) I would like collect some information to write the list of all users in a file.[color=#525252]
[/color]
My script works in version 6.1 but I not in version 8.5.
First I generate the new AXLAPIservices.cs file
Edit and replace the old method by the new one.
But now I have an issue with the wildcard to search "any users"
See below a piece of code.
Thanks for your help.
[color=#525252] [/color][color=#525252] Dim axl As AXLAPIService = New AXLAPIService()[/color]
[color=#525252] [/color]
[color=#525252]        Dim req As ListUserReq[/color]
[color=#525252]        Dim res As ListUserRes[/color]

[color=#525252]        'List User Name[/color]
[color=#525252]        req = New ListUserReq[/color]
[color=#525252]        req.returnedTags.firstName = "%"                           &lt;&lt;&lt; Error see in attachment (Works in CUCM version 6.1)[/color]
[color=#525252]        req.returnedTags.lastName = "%"[/color]
[color=#525252]        res = axl.listUser(req)[/color]
[color=#525252] [/color]
[color=#525252]        For Each user As LUser In res.return[/color]
[color=#525252]            message = message + user.firstName[/color]
[color=#525252]        Next  [/color]</summary>
    <dc:creator>Benoit Barcy</dc:creator>
    <dc:date>2012-12-07T10:40:03Z</dc:date>
  </entry>
</feed>

