Admin - Do you take advantage of 'Integrated Security' to do Payroll reports?

Updated by Brady Stroud [SSW] 5 months ago. See history

123

Payroll report should only show the records of the current user, Reporting Services support "Integrated Security" which you can use to identify the user who is running the report and only return relevant result for the current user.

Image

❌ Figure: Bad example - Everyone can see others' rate changing history (maybe useful for administrative, but not for your employees)

Image

✅ Figure: Good example - The current employee can only see his own record

To generate such a report, you need to use the filter on the data table:

Image

Figure: Specify the filters on your data table and select Globals->User!UserID

Note: 'Edit Expression' dialog is only available on RS 2005, but the UserID global variable is available on RS 2000.

acknowledgements
related rules