xdmp.getServerFieldNames() as Sequence
Returns a sequence of the server field names.
http://marklogic.com/xdmp/privileges/xdmp-get-server-field-names
admin
role have
privileges to see all of the server fields. Application Services uses several
protected server fields, each having a name that starts with "scope@".
Therefore, if you are a user with the admin
role, you will see
all of those fields when you call xdmp:get-server-field-names
.
xdmp.getServerFieldNames(); => ["name1","name2"]
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.