通过用户名获取联系人
ContactManager contactManager = Factory.CreateObject("tracking/contactManager", true) as ContactManager;
Contact contact = contactManager.LoadContactReadOnly(userName);
return contact;
ContactManager contactManager = Factory.CreateObject("tracking/contactManager", true) as ContactManager;
Contact contact = contactManager.LoadContactReadOnly(userName);
return contact;