cts.documentPermissionQuery( role as String, capability as String ) as cts.documentPermissionQuery
Returns a query matching documents with a given permission.
Parameters | |
---|---|
role | The role of the permission |
capability | The capability of the permission (read, update, node-update, insert, execute) |
cts.uris(null,null,cts.documentPermissionQuery("admin","execute")) => .. Return all URIs of documents which have admin/execute permission
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.