zhu001 Posted June 28, 2008 Share Posted June 28, 2008 Hi, Does anyone know if it is possible to reference logged-in-user attributes in a sql? Let's say I integrated JS with existing ldap and user entries have custom attributes assigned to them in the ldap tree. Is there a way to reference them in a sql of a jrxml file?Something like: select f1, f2, f3 from tablewhere f4 = {user.attribute} Thanks! Link to comment Share on other sites More sharing options...
mdahlman Posted June 28, 2008 Share Posted June 28, 2008 Take a look at this thread. Regards,Matt Link to comment Share on other sites More sharing options...
zhu001 Posted June 28, 2008 Author Share Posted June 28, 2008 Thank you for reply.It looks like, it is possible reference user id, name, email, ..., but how about custom attributes like region id or company id. Which are defined externally in ldap tree. Looking at User object API (posted in that thread by swood), i don't see a method to call for custom attributes. Please advice. Link to comment Share on other sites More sharing options...
huwtrimet.org Posted August 7, 2008 Share Posted August 7, 2008 You refered a link is not working on your forum, please send text, please. Link to comment Share on other sites More sharing options...
lucianc Posted August 8, 2008 Share Posted August 8, 2008 William HuWrote: You refered a link is not working on your forum, please send text, please. The updated link is http://jasperforge.org/plugins/espforum/view.php?group_id=112&forumid=102&topicid=35364Regards,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