<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: [ListDeviceProfile] Get deviceProfile linked with endUser in Management</title>
    <link>https://community.cisco.com/t5/management/listdeviceprofile-get-deviceprofile-linked-with-enduser/m-p/3531320#M1690</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep, via the Data Dictionary, lots of examination of the tables on my running system, trial, and error...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Data Dictionary does have diagrams illustrating some of the key important table/field relationships, but unfortunately does not document every single relationship (that would be a very large document.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 May 2016 18:57:27 GMT</pubDate>
    <dc:creator>dstaudt</dc:creator>
    <dc:date>2016-05-11T18:57:27Z</dc:date>
    <item>
      <title>[ListDeviceProfile] Get deviceProfile linked with endUser</title>
      <link>https://community.cisco.com/t5/management/listdeviceprofile-get-deviceprofile-linked-with-enduser/m-p/3531317#M1687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to get the following information :&lt;/P&gt;&lt;P&gt;_ For each end user present in my CUCM , I want to know if this user has a deviceProfile linked with him,&amp;nbsp; or not.&lt;/P&gt;&lt;P&gt;_ BUT , I can't make a single request for each user, since we have a big amount of users, it take too much time to send a getUser request that return the profile name. ( around 1 sec just to get that info for one user, which make my script run for more than 30mn just to get all the infos...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently, I send this request to the CUCM for each&amp;nbsp; End User, but, as you can guess, it doesn't work really well :&lt;/P&gt;&lt;P&gt; &lt;SPAN style="color: #8b0000; font-size: 8pt; font-family: Lucida Console;"&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;soapenv:Envelope xmlns:soapenv="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.xmlsoap.org/soap/envelope/" rel="nofollow" target="_blank"&gt;http://schemas.xmlsoap.org/soap/envelope/&lt;/A&gt;&lt;SPAN&gt;" xmlns:ns="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.cisco.com/AXL/API/8.5" rel="nofollow" target="_blank"&gt;http://www.cisco.com/AXL/API/8.5&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;lt;soapenv:Header/&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;lt;soapenv:Body&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;ns:getUser sequence="?"&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;userid&amp;gt;&amp;lt;/userid&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;returnedTags&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;userid/&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;phoneProfiles&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;profileName/&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/phoneProfiles&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/returnedTags&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/ns:getUser&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;lt;/soapenv:Body&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/soapenv:Envelope&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I'm coming for your help : Is there a way to build one big xml request that would return everything ( since the main cause of the delay isn't the power of my device but the multiple request) ; or even to do so with the database ? (I'm really not confident with it since I have only worked with xml so far but I guess that if this is the only way...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Last thing, I made everything with Powershell, if that help in any way....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance !&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 14:28:26 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/listdeviceprofile-get-deviceprofile-linked-with-enduser/m-p/3531317#M1687</guid>
      <dc:creator>gentillon.loris1</dc:creator>
      <dc:date>2016-05-09T14:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: [ListDeviceProfile] Get deviceProfile linked with endUser</title>
      <link>https://community.cisco.com/t5/management/listdeviceprofile-get-deviceprofile-linked-with-enduser/m-p/3531318#M1688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This kind of problem can sometimes be solved more-or-less elegantly with &amp;lt;executeSqlQuery&amp;gt;.&amp;nbsp; For example this query (I think) will return all users with an extension mobility profile:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;select enduser.userid,enduserdevicemap.fkdevice from enduser,enduserdevicemap,device where enduser.pkid = enduserdevicemap.fkenduser and enduserdevicemap.fkdevice=device.pkid and enduserdevicemap.tkuserassociation=5&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2016 17:49:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/listdeviceprofile-get-deviceprofile-linked-with-enduser/m-p/3531318#M1688</guid>
      <dc:creator>dstaudt</dc:creator>
      <dc:date>2016-05-10T17:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: [ListDeviceProfile] Get deviceProfile linked with endUser</title>
      <link>https://community.cisco.com/t5/management/listdeviceprofile-get-deviceprofile-linked-with-enduser/m-p/3531319#M1689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, I'll try that ASAP.&lt;/P&gt;&lt;P&gt;Just wondering, is there a graphe somewhere that show the whole database, or did you just went through the data from this location ? : &lt;A href="https://developer.cisco.com/site/axl/documents/latest-version/datadictionary11-0-1.gsp" title="https://developer.cisco.com/site/axl/documents/latest-version/datadictionary11-0-1.gsp"&gt;https://developer.cisco.com/site/axl/documents/latest-version/datadictionary11-0-1.gsp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Because atm I don't feel comfortable with the information on this link, I find it somehow too messy....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 06:40:11 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/listdeviceprofile-get-deviceprofile-linked-with-enduser/m-p/3531319#M1689</guid>
      <dc:creator>gentillon.loris1</dc:creator>
      <dc:date>2016-05-11T06:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: [ListDeviceProfile] Get deviceProfile linked with endUser</title>
      <link>https://community.cisco.com/t5/management/listdeviceprofile-get-deviceprofile-linked-with-enduser/m-p/3531320#M1690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep, via the Data Dictionary, lots of examination of the tables on my running system, trial, and error...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Data Dictionary does have diagrams illustrating some of the key important table/field relationships, but unfortunately does not document every single relationship (that would be a very large document.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 18:57:27 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/listdeviceprofile-get-deviceprofile-linked-with-enduser/m-p/3531320#M1690</guid>
      <dc:creator>dstaudt</dc:creator>
      <dc:date>2016-05-11T18:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: [ListDeviceProfile] Get deviceProfile linked with endUser</title>
      <link>https://community.cisco.com/t5/management/listdeviceprofile-get-deviceprofile-linked-with-enduser/m-p/3531321#M1691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry it took me so long, I've been quite busy.&lt;/P&gt;&lt;P&gt;Anyway, the SQL request you gave me worked perfectly fine !&lt;/P&gt;&lt;P&gt;Thanks again , marked as solved !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 14:28:08 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/listdeviceprofile-get-deviceprofile-linked-with-enduser/m-p/3531321#M1691</guid>
      <dc:creator>gentillon.loris1</dc:creator>
      <dc:date>2016-05-23T14:28:08Z</dc:date>
    </item>
  </channel>
</rss>

