Shwetha Sanjeev | 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> |
| Please sign in to flag this as inappropriate. |