try {
userID = IDFactory.getDefault().createID(targetID.getNamespace(), userName);
IUser child = new org.eclipse.ecf.core.user.User(userID,userName);
IPresence presence = new Presence(IPresence.Type.AVAILABLE);
entry = new RosterEntry(parent, child,presence);
/*IPresence presence = presenceContainer.createPresence(userID.getName());
entry.setPresenceState(presence);*/
return entry;
} catch (IDCreateException e) {
e.printStackTrace();