Loading TOC...

xdmp.getServerFieldNames

xdmp.getServerFieldNames() as Sequence

Summary

Returns a sequence of the server field names.

Required Privileges

http://marklogic.com/xdmp/privileges/xdmp-get-server-field-names

Usage Notes

This functions returns the server field names of the fields for which you have privileges to see. Users with the 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.

Example

xdmp.getServerFieldNames();
=>
["name1","name2"]
 

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.