myDBR maintains the report access rights based on the assigned rights. An access right for the report can be set to an individual user, to all or to a group maintained inside myDBR. Also, a report can be set accessible as without the need to log in.
Access rights are determined under a report's 'edit' link.
Anyone how knows the report's direct URL can view the report. Login is not required. For more details see direct URL
myDBR keeps track with which username/password each connection was made to the database.
If you need to know who is the user executing the report,
you can add the special parameter
"inLogin varchar(30)" to the report and myDBR will fill it automatically to contain users username.
Variable name (
inLogin) is defined in
defaults.php if you wish to change it.
Following report outputs the user's login name. No parameters are asked when the user runs the report.
create procedure sp_DBR_WhoAmI( inLogin varchar(30) ) begin select 'User running the report is: ', inLogin; end