thillai_selvan Posted January 21, 2013 Share Posted January 21, 2013 I am creating a user details report which has to show the currently logged in user detail. How can I get this achieved? I know that we can't access any session variables. I am using iReport of version 3.7.1. Please help me folks! TIA Link to comment Share on other sites More sharing options...
mrcaffeine Posted January 21, 2013 Share Posted January 21, 2013 are you looking for an answer related to JasperReports Server v3.7.1? Link to comment Share on other sites More sharing options...
marianol Posted January 21, 2013 Share Posted January 21, 2013 Check this Answer: http://community.jaspersoft.com/questions/526497/capture-name-person-logged-jasper it shows you how to set this up, using the JRXML of the Sales By Month report provided in the Jasper Server samples. Link to comment Share on other sites More sharing options...
thillai_selvan Posted January 31, 2013 Author Share Posted January 31, 2013 @marianol how to pass this loggedinUser to the iReport query? I want to pass this logged in user name in the where condition. Ex: where username = TIA 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