xdmp:amp-roles( $namespace-uri as xs:string, $localname as xs:string, $document-uri as xs:string, $database-id as xs:unsignedLong ) as xs:unsignedLong*
Returns the set of all roles assigned to an amp, including roles directly assigned to the amp and roles inherited by other roles.
Parameters | |
---|---|
namespace-uri | The amped function namespace URI. |
localname | The amped function localname. |
document-uri | The amped function module URI. |
database-id | The database ID containing the module. |
xdmp:amp-roles("http://marklogic.com", "read-docs", "/app/docs.xqy", 239487239487) => (2349872340, 432987324)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.