Be the first to know! News, product information, and events delivered straight to your inbox.
Be the first to know! News, product information, and events delivered straight to your inbox.
Be the first to know! News, product information, and events delivered straight to your inbox.
Be the first to know! News, product information, and events delivered straight to your inbox.
Be the first to know! News, product information, and events delivered straight to your inbox.
sem.graphSetPermissions( $graph as sem.iri, $permissions as Object[] ) as null
Set permissions to the graph specified. The user must have update permissions on the graph.
This function is a built-in.
var sem = require('/MarkLogic/semantics'); sem.graphSetPermissions((sem.iri("graphs/MyDemoGraph")), ( xdmp.permission( "demo-reader", "read" ), xdmp.permission( "demo-writer", "update" ) ) )
Comments