dear all,
I'm trying to retrieve the current userid from Jboss portal after login to Portal. How to do that?
Did saw some hints from the Portal Reference Manual on 6.1.3.2
(see http://docs.jboss.com/jbportal/v2.4/reference-guide/en/html_single/#d0e2691)
But i don't have the "request" class because shield by myfaces?
I'm using
- facelets
- myfaces
- Jboss 4.0.4 +
- Jboss Portal 2.4
- Jboss seam 1.0.1GA
Thanks.
Found the answer ... just new the "UserPrincipal" class and call the getName method. "UserPrincipal" is defined in seam (see reference manual).
Cheers.