使用哪个MarkLogic Xquery API创建角色和特权。无法找到要使用的正确秒数。
{
"role-name":"limitDevRole",
"Description":"limit dev role"
"privilege":[
{"privilege-name":"xdmp:get-server-field-names",
"action":"http://marklogic.com/xdmp/privileges/xdmp-get-server-field-names",
"kind": "execute"
},
{"privilege-name":"get-system-logs",
"action":"http://marklogic.com/xdmp/privileges/logs/system",
"kind": "execute"
}
]
}