Configure Element Level Security with XQuery
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.