Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
GetServerUsername() equivilant for birt?
vmlinux
I'm coming from a setup where we used ErdPro, and iServer, and to enforce security from a table we would something like this:
user = Ucase$(GetServerUserName())
Whereclause = Whereclause & " S.UserName = '" & Trim(user) & "' AND "
I've currently got Openreports-Tomcat installed just to do this analysis on this product, but I'm not seeing how I can call the user name as a parameter in my custom where clause. Could someone shed some light on this, or point me to somewhere where it might be documented? I think when we go forward we may not use Openreports, but we may still need to pass a username to Birt where it can't be overridden, or other types of query based security clauses.
Find more posts tagged with
Comments
vmlinux
You know, the old saying goes something like... Your normal if you talk to yourself, your only crazy if you answer yourself. I guess I'm crazy.
This from the OpenReports administration guide for 2.1.
Note
OpenReports automatically passes the following parameters to all reports:
OPENREPORTS_USER_ID,
OPENREPORTS_USER_EXTERNALID, OPENREPORTS_USER_NAME,
OPENREPORTS_EXPORT_TYPE,
and OPENREPORTS_IMAGE_DIR
I'll see what I can do with this tidbit
.