Powered by Zoomin Software. For more details please contactZoomin

Secure MarkLogic Server

Configure Element Level Security with XQuery

  • Last Updated: May 20, 2026
  • 1 minute read
    • MarkLogic Server
    • Version 12.0
    • Documentation

To configure element level security, you would follow the same series of steps that you used for the earlier example. (See Example—Compartment Security.)

  • Set up roles.

  • Create users and assign roles.

  • Insert documents with permissions.

  • Add the query rolesets to the Security database.

  • Add protected paths for elements in documents, by inserting the protected paths into the Security database.

TitleResults for “How to create a CRG?”Also Available inAlert