int showAudioVideoTestAsInt, int showNickNameDialogAsInt) {
try {
Long users_id = sessiondataDao.checkSession(SID);
if (AuthLevelUtil.hasWebServiceLevel(userDao.getRights(users_id))) {
RemoteSessionObject remoteSessionObject = new RemoteSessionObject(
username, firstname, lastname, profilePictureUrl,
email, externalUserId, externalUserType);
log.debug(remoteSessionObject.toString());
log.debug("showNickNameDialogAsInt" + showNickNameDialogAsInt);
String xmlString = remoteSessionObject.toXml();
log.debug("xmlString " + xmlString);
sessiondataDao.updateUserRemoteSession(SID, xmlString);