Hi, I was able to get the userid by using request.getRemoteUser() or request.getUserPrincipal().getName().
Thanks. Srini. SriniPitta wrote: > > Hi, > > I would like to get the userid/username of the logged in user. How can i > read it? I am using Jetspeed 2.2.0. I see the UserManager has a method > getAnonymousUser() but it returns the name of guest. I tried with > usermgr.getPrincipalType().getName() but it does not return the logged in > userid. > > Thanks for your time. > > Best, > Srini. > -- View this message in context: http://old.nabble.com/how-to-get-userid-of-logged-in-user.-tp30350082p30350278.html Sent from the Jetspeed - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
