Show the data based on user login using field level security
To show or obfuscate data based on the user login in Bold Reports®, pass the user ID to a hidden parameter and use an expression on the column that checks the user role. Follow these steps.
- Create a dataset by getting the user id from the database.

- Pass the default value for the user id parameter by referring to the following image and set the parameter visibility as
hidden.

- Based on the user role, obfuscate the data by using an expression for the column.

- Preview the report with admin and guest user login to see the difference like the following images:
Preview of Admin user:
Preview of Guest user:
