#1 2018-02-15 13:56:04

shashankgoyal3
Member
From: India
Registered: 2017-11-07

Get Logged in User Name in BIRT report

Hi Team,

I need to show logged in User Name & id from report server & publish that in my BIRT report.

I don't know how to access this information? Any idea?

regards
Shashank


Regards
Shashank

Offline

#2 2018-02-19 06:21:30

shashankgoyal3
Member
From: India
Registered: 2017-11-07

Re: Get Logged in User Name in BIRT report

Any ReportServer admin? Can you please reply


Regards
Shashank

Offline

#3 2018-02-19 10:19:07

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Get Logged in User Name in BIRT report

Hi shashankgoyal3,

check https://reportserver.net/en/guides/admi … arameters/, 6.3.13.
You can use the special parameters defined here:

"In addition to the parameters defined per report, ReportServer adds a few special parameters to the parameter set of each report. These special parameters enable the report designer to access special properties.

Current User
The properties of the current user can be called up by using ${_RS_USER.xx}, as a substitute getFirstname(), getLastname(), getTitle(), getUsername(), getEmail(), getId() can be used.

Additionally, the $P, or $P! syntax can be used. Here, the following replacements are available.

_RS_USER_FIRSTNAME
_RS_USER_LASTNAME
_RS_USER_TITLE
_RS_USER_USERNAME
_RS_USER_EMAIL
_RS_USER_ID
"

Regards,
Eduardo

Offline

#4 2018-02-23 14:18:10

shashankgoyal3
Member
From: India
Registered: 2017-11-07

Re: Get Logged in User Name in BIRT report

Thanks Eduardo.


Regards
Shashank

Offline

Board footer

Powered by FluxBB