asifisyed Posted June 5, 2012 Share Posted June 5, 2012 Hi, Can jasperserver do the following:User will log-on to JasperServer to run the report. But need to confirm whether: Can we pass Jasper User ID to the report so that they can only see customers that they serve? Can we pass Jasper User ID's Role to the report so that they can see certain fields that "certain role" can only see.In other words, Is there any login user id global variable available to the report?? Thanks.AsifPost Edited by asifisyed at 06/05/2012 12:30 Link to comment Share on other sites More sharing options...
mnoland2 Posted June 6, 2012 Share Posted June 6, 2012 yes both can be pased with the "domain Parameters" in Ireport under the palette in the tools section drag "domain Parameters" into your report this will alow you to add the Logged in user , and logged in user roles Link to comment Share on other sites More sharing options...
continuous Posted June 10, 2012 Share Posted June 10, 2012 I can't seem to find the "domain Parameters" in the palette/tools area.Do I need to download a plugin, change config, ? Thanks,Dave Link to comment Share on other sites More sharing options...
am0rales Posted January 3, 2013 Share Posted January 3, 2013 Domains are only available for Jasper Professional Edition. If you are trying to pass the id of the user to the report you can do this by the username. There are builds parameters for that purpose like $P{LoggedInUsername}See http://community.jaspersoft.com/wiki/built-parameters-logged-user 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