MarkLogic Server 11.0 Product Documentation
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"]
 
Powered by MarkLogic Server | Terms of Use | Privacy Policy