MarkLogic 9 Product Documentation
xdmp:get-server-field-names

xdmp:get-server-field-names() as xs:string*

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:get-server-field-names()
=>
("name1","name2")
 
Powered by MarkLogic Server | Terms of Use | Privacy Policy