Loading TOC...

MarkLogic 12 EA 2 Product Documentation
cts:document-permission-query-capability

cts:document-permission-query-capability(
   $query as cts:document-permission-query
) as xs:string

Summary

Returns the capability used to construct the specified query.

Parameters
query A query.

Example

  cts:document-permission-query-capability(cts:document-permission-query("admin","read")) 
  => "xml"

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.