|Available in: Logi Info|| Source code name: Rights|
User Rights can be used to prevent users from viewing reports, report elements and data rows for which they should not have access based on security. Rights are a list of right values, like "ExecutiveReport" or "SalaryColumn". The Rights element defines how to get users' rights. Then, reports can contain SecurityRightID attributes. If the user doesn't have the SecurityRightID in his list of rights, then that report or element cannot be viewed.
There are three ways to get user rights. For most cases, add either a single RightsFromRoles or RightsFromDataLayer, or add collection of RightFromRole element. Still, all three of these methods may be used together and the rights from each are all added together into a larger list.
The following elements have been deprecated, but are fully supported, in favor of RightFromRole, RightsFromRoles and RightsFromDataLayer.