|Available in: Logi Info
| Source code name: RightFromRole
|Introduced in: v10.0.189
The RightFromRole element defines each application right individually. There is one RightFromRole for each Right. The ID is the right value that corresponds to SecurityRightID attributes in report definitions.
RightFromRole works with UserRoles. If a user has a role that is returned by this element's DataLayer, then he is allowed the right specified in the ID.
Add a DataLayer which returns roles. When the user has matching roles, the user is given this right. The data can include roles in multiple rows or with a comma-delimited list in one row. Set the column containing roles values with the RolesDataColumn attribute. The first column is used by default.