Add a Query Roleset
- Last Updated: April 14, 2026
- 1 minute read
- MarkLogic Server
- Version 10.0
- Documentation
To add a query roleset for element level security, using the Admin Interface:
-
Click Security in the left tree menu.
-
Click Protected Paths and then click the Create tab.

-
Add the roles (
els-role-1andels-role-2) for the query roleset, separated by commas. -
Click More Items to add more comma-separated query rolesets.
-
Click OK when you are done.
Note:
An administrator must define query rolesets.