I know it, but I'd like to avoid to modify that method! Is there any possibility to know the current logged user? Thank
On 26 Lug, 12:35, "[email protected]" <[email protected]> wrote: > MainService.getInstance().getsessiondata() > > will not return a Sessiondata instance. You need to pass the (corrent) > user_id from the Method calls that invoke the MailThread. > > Sebastian > > 2011/7/26 Netbuilder <[email protected]>: > > > > > > > > > > > Hi all, > > I need to know the ID of the logged user. > > > in the MailThread.java I don't have any information. > > > So: > > I've got the SID and I've tried to get some information by > > usernmanagement... > > Sessiondata sessionData = MainService.getInstance().getsessiondata(); > > Long users_id = > > Sessionmanagement.getInstance().checkSession(sessionData.getSession_id()); > > Users user = > > Usermanagement.getInstance().getUserById(users_id); > > log.debug(" MARZUCCHI: " + user); > > > User is null. > > > Help me!! Please. > > Thankyou > > > -- > > You received this message because you are subscribed to the Google Groups > > "OpenMeetings developers" group.> To post to this group, send email > > [email protected].> To unsubscribe from this group, send > > email [email protected]. > > For more options, visit this group > > athttp://groups.google.com/group/openmeetings-dev?hl=en. > > -- > Sebastian > Wagnerhttp://www.webbase-design.dehttp://openmeetings.googlecode.comhttp://www.wagner-sebastian.com > [email protected] -- You received this message because you are subscribed to the Google Groups "OpenMeetings developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/openmeetings-dev?hl=en.
