The XQuery Security Admin API info is posted here.
http://docs.marklogic.com/sec:create-user
I may be missing something but I don't see the equivalent JavaScript Security Admin APIs.
Is this the case? If so can we expect this in the next MarkLogic release?
答案 0 :(得分:5)
sec:*函数在XQuery库模块中实现
/MarkLogic/security.xqy
如
所述与任何XQuery库模块一样,安全模块可以在服务器端JavaScript中导入,并且可以调用这些函数:
http://docs.marklogic.com/guide/jsref/functions#id_67468
希望有帮助,