aamitt06 Posted September 26, 2014 Share Posted September 26, 2014 Please tell me if there is any method through which I can get the users unique id who logged into the Jasper Server, and that id could be used in the report to display only those records matching this id.Is there any parameter which can be referred or any other work around to obtain the logged in user name or any other way to deal with the issue.Thanks in Advance!! Link to comment Share on other sites More sharing options...
rsuddhala Posted September 26, 2014 Share Posted September 26, 2014 Hi,We can get userId by using parameter $P{LoggedInUserAttribute_ma_userid}.By using that you can create a inputcontrol userid example as SELECT userid FROM usertable WHERE userid=$P{LoggedInUserAttribute_ma_userid} Thanks,Raviraj Link to comment Share on other sites More sharing options...
aamitt06 Posted September 26, 2014 Author Share Posted September 26, 2014 But how jasper server will store users unique id ... Should there be a separate field in login page ? Link to comment Share on other sites More sharing options...
aamitt06 Posted October 1, 2014 Author Share Posted October 1, 2014 Please tell how to create Jasper User using rest web service. Link to comment Share on other sites More sharing options...
aamitt06 Posted October 1, 2014 Author Share Posted October 1, 2014 Please tell how to create Jasper User using rest web service. 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