cts:document-permission-query( $role as xs:string, $capability as xs:string ) as cts:document-permission-query
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((),(),cts:document-permission-query("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.