developerWorks  >  Lotus  >  Forums & community  >  IBM Sametime Forum

IBM Sametime Forum

developerWorks




Get email address from Contact List.
Josy Joy 10/20/2008 05:39 AM
Applications development 7.5.1 CF1 All Platforms


Hi,
I am developing a sametime plugin which adds an option to the context (right-click) menu. The plugin sends a request to one BOT which in turn returns the details of the selected user, and I need to display the same.

The problem I face here is, that the BOT expects the email ID of the user, not the name. How can I get the email ID of the person ? The following method gives me the name of the user :

Person p[] =null;
p=this.getSelectedPersons();
String vPersonName = p[0].getName();

Any thoughts on this would be a great help for me. Thanks in advance.

Regards,
Josy Joy

Go back