Cisco Unified Presence APIs Developer Forums

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hi,
 
I am making a windows application using .NET and using CUP's API's, CUP API's expose searchprofile class and searchprofile() function is exposed from Cup server, my issue is if I give some value to search, it returns back the same value to me instead of the possible CUP user's name starting with the value in the CUP. I am using the code snippet given from Cisco MSVS plugin for searchprofile : the code I am using looks like this:
 
 
 
 
 

<font size="2" color="#2b91af"><font size="2" color="#2b91af">
searchprofilePersona
</font></font><font size="2" color="#2b91af">
 
</font>
 
[] srPer = new searchprofilePersona[1];
//Using single instance of persona
<font size="2">
 
</font>
 
for (int
i = 0; i < srPer.Length; i++)
{
<font size="2">
srPer =
</font>
 
new searchprofilePersona();
//initialize the list

}
<font size="2">
srPer[0].id = textBox1.Text;
</font>
//Fill the persona name
 
Is there any other way to search for users in CUP directory or I am doing something wrong??
Any lights in the direction???
 
<font size="2" color="#008000"><font size="2" color="#008000">
Thanks.
</font></font><font size="2" color="#008000">
 
</font>
 
 

RE: CUP API's
Answer
4/16/10 9:30 AM as a reply to Shwetha Sanjeev.
By the looks of it, search-profile is meant to search properties of existing users.. but you need to know their username.
However, what exactly are you looking for? CUP users are CCM users and you can get a list of them using the CallManager AXL API.. there is a search command and using sql commands you can limit your selection to all users that have a license for CUP.