xagyg Posted November 24, 2009 Share Posted November 24, 2009 Is it possible to access the logged in user in a jasper report.For example, a user logs in via web services (or via UI) with j_username as "fred" (in the web services example). From within a report can I access that username? I can't seem to find an appropriate report parameter and $P{REPORT_PARAMETERS_MAP}.get("j_username") returns null.I want to do data filtering and need to know who the logged in user is.Thanks in advance. Link to comment Share on other sites More sharing options...
lucianc Posted December 10, 2009 Share Posted December 10, 2009 There's a built-in parameter called LoggedInUser. Search this forum for examples of how to use it.Regards,Lucian Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now